Skip to main content
POST
Create a Triage rule

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
definition
object
required
saveInactive
boolean
retentionSetup
enum<string>
Available options:
draft,
commit
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

ruleId
string<uuid>
required
revision
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991