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

# List organization repositories

> Lists repositories that CodeRabbit currently records as active for an organization. The organization_id is the CodeRabbit organization UUID returned by GET /organizations. Enterprise plan only.

export const EnterprisePlanBadge = ({tip = "This feature is available exclusively as part of the Enterprise plan. Please refer to our pricing page for more information about our plans and features.", title = "Enterprise Plan", cta = "Read more", href = "https://coderabbit.ai/pricing", disabled = false}) => {
  return <Tooltip tip={tip} cta={cta} href={href}>
        <Badge icon="building-2" disabled={disabled || undefined}>
            {title}
        </Badge>
    </Tooltip>;
};

<EnterprisePlanBadge />

Lists the active repositories CodeRabbit records for an organization. Use the CodeRabbit organization UUID returned by [List organizations](/api-reference/organizations-list) as the `organization_id` path parameter.


## OpenAPI

````yaml get /v1/organizations/{organization_id}/repositories
openapi: 3.0.3
info:
  title: CodeRabbit API spec
  version: 1.0.0
servers:
  - url: https://api.coderabbit.ai
security:
  - ApiKeyAuth: []
paths:
  /v1/organizations/{organization_id}/repositories:
    get:
      tags:
        - Organizations
      summary: List onboarded repositories for an organization
      description: >-
        Lists repositories that CodeRabbit currently records as active for an
        organization. The organization_id is the CodeRabbit organization UUID
        returned by GET /organizations. Enterprise plan only.
      operationId: organization-repositories-list
      parameters:
        - in: header
          name: x-coderabbitai-api-key
          required: true
          schema:
            type: string
          description: User-scoped organization or workspace API key.
        - in: path
          name: organization_id
          required: true
          schema:
            type: string
            format: uuid
        - in: query
          name: limit
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 100
        - in: query
          name: cursor
          schema:
            type: string
          description: Opaque pagination cursor returned by the previous page.
      responses:
        '200':
          description: Successfully listed onboarded repositories.
          content:
            application/json:
              schema:
                type: object
                required:
                  - repositories
                  - next_cursor
                properties:
                  repositories:
                    type: array
                    items:
                      type: object
                      required:
                        - repository_id
                        - repository_name
                        - private
                        - group_path
                      properties:
                        repository_id:
                          type: string
                          description: Repository identifier assigned by the git provider.
                        repository_name:
                          type: string
                          example: acme/backend
                        private:
                          type: boolean
                        group_path:
                          type: string
                          nullable: true
                          description: Git provider group or subgroup path, when available.
                  next_cursor:
                    type: string
                    nullable: true
        '400':
          description: Invalid organization ID or pagination parameters.
        '401':
          description: Invalid or inactive API key.
        '403':
          description: >-
            Enterprise plan, workspace administrator, key type, or RBAC
            requirement not met.
        '404':
          description: Organization not found in the API key scope.
        '410':
          description: Legacy organization API key.
        '429':
          description: Rate limit exceeded.
        '500':
          description: Internal server error.
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-coderabbitai-api-key
      description: >-
        API key for authentication. You can create an API key from the
        CodeRabbit dashboard.

````