Skip to main content
GET
Daily credit usage across an organization for the last N days (default 30, max 90), stacked by user.

Authorizations

X-API-Key
string
header
required

Company API key - scoped to a specific company. Generate from the Integrations page in your dashboard.

Path Parameters

orgId
string
required

Query Parameters

creditType
string

Filter to ai or data credits; omitted includes both

days
integer

Rolling window in days, default 30, clamped to 1–90

endDate
string

Inclusive ISO 8601 window end; defaults to now

Response

Daily credit usage for an organization, one series per user

Usage histogram for last 30 days

histogram
object[]

Histogram data points