Skip to main content
POST
Connect an installed repository as a knowledge source

Authorizations

x-coderabbitai-api-key
string
header
required

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

Body

application/json
repository_id
string
required
Required string length: 1 - 256
org_id
string

Git-provider organization ID. Required for workspace keys; omit for organization keys. This differs from the CodeRabbit organization ID in scope.id.

Minimum string length: 1

Response

OK

status
enum<string>
required
Available options:
connected,
already_connected
repository
object
required