> ## Documentation Index
> Fetch the complete documentation index at: https://docs.requesty.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List Groups

> List all groups in your organization

List all groups in your organization.


## OpenAPI

````yaml GET /v1/manage/group
openapi: 3.0.3
info:
  title: Requesty API
  description: Requesty API for AI model routing and key management
  version: 1.0.0
servers:
  - url: https://api-v2.requesty.ai
    description: Management API endpoint
  - url: https://router.requesty.ai
    description: Inference router endpoint
security:
  - BearerAuth: []
paths:
  /v1/manage/group:
    servers:
      - url: https://api-v2.requesty.ai
        description: Management API endpoint
    get:
      summary: List groups
      description: List all groups in your organization
      operationId: listGroups
      responses:
        '200':
          description: Successfully retrieved groups
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetGroupsResponse'
        '400':
          description: Bad request - malformed payload or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized - missing or empty Authorization header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: Payment required - organization balance exhausted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden - invalid token or model not in access list.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found - provider/model not supported.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded. Retry after the Retry-After header value.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '502':
          description: Bad gateway - upstream provider returned an invalid response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    GetGroupsResponse:
      type: object
      properties:
        groups:
          type: array
          items:
            $ref: '#/components/schemas/OrganizationGroupListItem'
          description: List of groups
      required:
        - groups
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - origin
            - message
          properties:
            origin:
              type: string
              enum:
                - router
                - provider
              description: >-
                Whether the error originated from Requesty's router or an
                upstream provider.
            message:
              type: string
              description: Human-readable error description.
    OrganizationGroupListItem:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: The group ID
          example: 123e4567-e89b-12d3-a456-426614174000
        organization_id:
          type: string
          description: The organization ID
          example: org-123
        name:
          type: string
          description: The group name
          example: Engineering Team
        members_count:
          type: integer
          description: Number of members in the group
          example: 5
        monthly_spend:
          type: number
          format: double
          description: Current monthly spending
          example: 450.25
        monthly_limit:
          type: number
          format: double
          description: Monthly spending limit. null means unlimited.
          nullable: true
          example: 1000
        created_by:
          type: string
          description: User ID who created the group
          example: user-123
        created_at:
          type: string
          format: date-time
          description: When the group was created
          example: '2025-01-15T10:30:00Z'
      required:
        - id
        - organization_id
        - name
        - members_count
        - monthly_spend
        - created_by
        - created_at
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: API key for authentication

````