Skip to main content
GET
List linked repositories
Requires an authenticated CodeRabbit administrator (cr_admin) with both repository_management:read and repository_settings:read permissions. Organization API key owners must also be organization administrators; workspace API key owners must be workspace administrators. Legacy organization keys, agentic keys, and self-hosted keys without user context are not supported.

Filter by organization

Use a CodeRabbit organization UUID from the id field returned by List organizations, not the Git provider’s organization ID. The API key must already have access to the organization; a filter does not expand its scope.
Replace the example UUID with your organization ID. Organization and repository filters select the union of matching source repositories. If both filters are omitted or empty, the endpoint selects the full authorized scope.

Interpret associations

MANUAL entries are candidates derived from saved UI settings. The manual projection approximates UI inheritance and overrides and normalizes at most 20 entries per settings layer. AUTO entries are stored automatic links filtered by saved UI settings; disabled automatic links are excluded. Targets must resolve to active repositories in the source organization and authorized scope. This is not a complete manual graph, effective configuration, or a record of review usage. Repository and central YAML-derived links, custom sources, and per-review overrides are not included; these sources can change manual associations and automatic mode.

Pagination

When next_cursor is not null, pass it as the next request’s cursor. Keep the same filters and limit across requests.

Authorizations

x-coderabbitai-api-key
string
header
required

API key for authentication. You can create an API key from the CodeRabbit dashboard.

Query Parameters

repository_ids
string[]

Provider repository IDs, comma-separated or repeated.

organization_ids
string<uuid>[]

CodeRabbit organization UUIDs, comma-separated or repeated.

limit
integer
default:50
Required range: 1 <= x <= 100
cursor
string

Pagination cursor from the previous response. Keep filters and limit unchanged.

Response

Linked repository graph page. GET /linked-repositories?repository_ids=12345&limit=50 selects one source repository.

data
object[]
required
next_cursor
string | null
required