v5

latestOpenAPI 3.1.12026-08-0826601.1 MB
Billing

Paginated, filterable log of the org's billing_event usage rows (one row per idempotency key), with credit totals for the filtered range. Org-admin only.

get/v1/orgs/{orgId}/credits/usage

Path parameters

orgIdstring uuid required

Query parameters

OR
'timestamp'
OR
'-timestamp'
page[size]number
page[after]string
page[before]string
'generation'
OR
'tests_reviews'
OR
'task_evaluations'
OR
'analysis'
OR
'mcp'
OR
'launch'
OR
'inference'
filter[actionCode]string
filter[timestamp][gte]string date-time
filter[timestamp][lte]string date-time
filter[timestamp][lt]string date-time

Headers

Authorizationstring

Response

Default Response