Repositories

List linked repositories

Changed on

Lists manual configured candidates derived only from saved UI settings and stored automatic links filtered by saved UI settings. The manual projection approximates saved UI inheritance and overrides and normalizes at most 20 entries per settings layer. This is not a complete manual graph, effective configuration, or a record of review usage. Repository and central YAML-derived links are not read; custom sources and per-review overrides are also unavailable. These sources can change both manual associations and automatic mode. Repository and organization filters select a union of source repositories; omitted or empty filters select the full scope. Targets are resolvable active repositories in the source organization, within the authorized scope. Requires Enterprise, an authenticated CodeRabbit administrator (cr_admin), and both repository management and repository settings read permissions. Organization keys require an organization administrator; workspace keys require a workspace administrator. Self-hosted keys without user context are denied.

get/v1/linked-repositories

Request

  • Base URL
    https://api.coderabbit.ai
  • Auth
    API key in header x-coderabbitai-api-key

Query parameters

repository_idsstring[]

Provider repository IDs, comma-separated or repeated.

organization_idsstring[]

CodeRabbit organization UUIDs, comma-separated or repeated.

limitinteger
cursorstring

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.

next_cursorstring nullable required

Changes