Skip to main content
GET
Get account AI credits usage

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Query Parameters

preset
enum<string>
default:30d

Relative timeframe preset.

Available options:
7d,
30d,
90d
timezone
string
default:UTC

IANA timezone for daily bucket boundaries.

project_reference
string

Optional project UUID or slug to scope credit usage to a single project.

project_id
string

Deprecated project ID or slug alias. Use project_reference.

projectId
string

Deprecated camelCase project ID or slug alias. Use project_reference.

Response

Account AI credits usage statistics.

summary
object
required
timeframe
object
required
series
object[]
required
projects
object[]
required
models
object[]
required
serving
object[]

The same spend cut by the deployment that served it. Ordered by spend descending, then by request count descending, then by host, then by tier; the row whose host and tier are both null is always last, because it is the absence of a record rather than a deployment. Additive: it neither replaces nor re-slices any other field. Omitted where the serving breakdown is not enabled; models is unchanged by it.