Skip to main content
GET
Get AI usage analytics

Authorizations

Authorization
string
header
required

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

Path Parameters

project_reference
string
required

Project slug, UUID, or domain that identifies the project.

Query Parameters

preset
enum<string>
default:30d
Available options:
7d,
30d,
90d
timezone
string
default:UTC
Minimum string length: 1
member_id
string<uuid>

Optional current project member UUID.

Response

Project AI usage and daily customer charges. Owners and administrators read the project or select a member; other members read only their own usage by passing their member ID. API keys are refused. Member reports include calls with recorded actor attribution. Account quotas and provider costs are excluded.

summary
object
required
timeframe
object
required
series
object[]
required
projects
object[]
required
models
object[]
required
scope
object
required
attribution
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.