/api/orgs/{org_id}/provider/usage/by-modelGet daily usage per model
Per-day, per-model rows across all calling orgs. Only settled charged money (platform-funded traffic) counts toward cost_usd, in US dollars. Same 429 and 503 behavior as the daily usage read.
Authentication: Bearer API key in the Authorization header
Path parameters
org_idstringrequiredYour organization id (uuid).
GET /api/whoamireturns it.
Query parameters
daysintegerWindow length in days, counted back from now.
Responses
200One row per (day, model).
Response
daysintegerrequiredrowsarray<object>requiredrows
daystringrequiredaliasstringrequiredModel slug.
request_countintegerrequiredinput_tokensintegerrequiredoutput_tokensintegerrequiredcost_usdnumberrequiredSettled charged money in US dollars.
401Missing, unknown or revoked API key.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
404The resource does not exist or belongs to another organization.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
422The body or query failed validation.
Response
detailarray<object>requireddetail
typestringlocarray<string | integer>msgstring
429The usage analytics store is busy; retry after the
Retry-Afterseconds.Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
503Usage analytics are unavailable on this deployment or temporarily failing.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
Request
curl https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/provider/usage/by-model?days=30 \
-H "Authorization: Bearer YOUR_API_KEY"Response
{
"days": 30,
"rows": [
{
"day": "2026-11-18",
"alias": "llama-4.1-70b-instruct",
"request_count": 31877,
"input_tokens": 120511330,
"output_tokens": 14002871,
"cost_usd": 54.7811
}
]
}https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/provider/usage/by-model?days=30