Billing

Paginated, filterable log of the org's credit usage events, deduplicated so each billed action appears once, 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

Changes

Changed in 2 of the 31 revisions of this API.2

    • added the required property // to the response with the status

      response-required-property-added

    • added the new optional query request parameter filter[timestamp][lt]

      new-optional-request-parameter