v1

latestOpenAPI 3.1.02026-07-26269227514.8 KB
metrics

Get Usage Metrics

Get aggregated usage metrics for the enterprise account.

Returns counts of sessions, searches, and PRs (opened, closed, merged) within the specified time range.

get/v3/enterprise/metrics/usage

Query parameters

time_beforeinteger nullable
time_afterinteger nullable

Response

Successful Response

prs_created_countinteger required
prs_merged_countinteger required
searches_countinteger required
sessions_countinteger required