billing
Get Billing Usage Timeseries By Model
Changed onPer-model request counts for stacked bar charts.
get/v1/billing/usage/timeseries-by-model
Request
- Base URLhttps://api.pioneer.ai (the document declares no server; this is the origin it was published from)
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
start_datestring nullable
Range start (ISO date or datetime, UTC); ignored when full_history=true
end_datestring nullable
Range end (ISO date or datetime, UTC); with full_history, caps the window
full_historyboolean
If true, span from the team's first request through end (or now); ignores start_date
interval_minutesinteger
Bucket width in minutes (default 1440 = daily). Values >= 10080 bucket by week and >= 43200 by month so long ranges stay bounded in point count.
scope'team' | 'personal'
team (default) aggregates the active team's usage; personal narrows to the requesting user's own usage (home page toggle).
workload_typestring nullable
Filter: exact billable kind, e.g. model_inference. Omit for all kinds
Response
Successful Response
Changes
- info
endpoint added
- info