Skip to main content
GET
Get MCP server usage by pull request
To install and sign in to the CLI, see Call from the CLI.

Authorizations

x-coderabbitai-api-key
string
header
required

See Authentication for the key types and where to create a key.

Query Parameters

org_name
string

GitHub organization login for a workspace API key, matched case-insensitively within that workspace. Supply either org_name or org_id, never both; omit for an organization-bound key.

Pattern: ^[A-Za-z0-9][A-Za-z0-9-]{0,38}$
org_id
string

Workspace API keys only; supply this provider organization ID or org_name, never both, to scope the request to one organization. Omit both selectors for the workspace-wide scope.

start_date
string<date>
required
end_date
string<date>
required
organization_ids
string

Comma-separated provider organization IDs. Self-hosted only; maximum 10.

repository_ids
string

Comma-separated provider repository IDs; maximum 10.

user_ids
string

Comma-separated provider PR-author IDs; maximum 10.

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

Opaque next_cursor from the previous response.

Response

MCP server usage for merged pull requests

data
object[]
required
next_cursor
string | null
required