/api/orgs/{org_id}/provider/usage/model/{alias}Get one model's daily health and earnings
Daily uptime, cache hit rate, latency and errors by failure class for one model you serve. uptime counts only dispatched attempts (caller-side refusals do not count against you). 404 when the model is neither one of your lanes nor carries traffic in the window. 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.aliasstringrequiredThe model slug (
lanes[].model_slug, oraliasfrom the per-model usage read).
Query parameters
daysintegerWindow length in days, counted back from now.
Responses
200Daily rows for the model.
Response
aliasstringrequireddaysintegerrequiredrowsarray<object>requiredrows
daystringrequiredrequest_countintegerrequiredcompleted_countintegerrequiredlane_failure_countintegerrequiredDispatched attempts that failed on the lane.
error_countintegerrequiredEvery non-completed event, including caller-side refusals.
uptimenumber | nullrequiredcompleted / (completed + lane failures), 0 to 1; null when nothing was dispatched.
input_tokensintegerrequiredoutput_tokensintegerrequiredcached_input_tokensintegerrequiredreasoning_tokensintegerrequiredcache_hit_ratenumber | nullrequiredCached input tokens over input tokens; null with no input.
cost_usdnumberrequiredSettled charged money in US dollars.
estimated_cost_usdnumberrequiredList-price value in US dollars.
distinct_api_keysintegerrequireddistinct_orgsintegerrequiredttft_p50_msinteger | nullrequiredttft_p90_msinteger | nullrequiredtimeout_countintegerrequirederrors_by_classobjectrequiredNon-completed events counted by failure class.
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 model is not one of yours, or the org operates no provider.
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/model/llama-4.1-70b-instruct?days=30 \
-H "Authorization: Bearer YOUR_API_KEY"Response
{
"alias": "llama-4.1-70b-instruct",
"days": 30,
"rows": [
{
"day": "2026-11-18",
"request_count": 31877,
"completed_count": 31790,
"lane_failure_count": 21,
"error_count": 87,
"uptime": 0.99934,
"input_tokens": 120511330,
"output_tokens": 14002871,
"cached_input_tokens": 61240511,
"reasoning_tokens": 0,
"cache_hit_rate": 0.5082,
"cost_usd": 54.7811,
"estimated_cost_usd": 2.9034,
"distinct_api_keys": 142,
"distinct_orgs": 61,
"ttft_p50_ms": 365,
"ttft_p90_ms": 880,
"timeout_count": 3,
"errors_by_class": {
"provider_error": 18,
"timeout": 3,
"quota_exceeded": 52,
"invalid_request": 14
}
}
]
}https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/provider/usage/model/llama-4.1-70b-instruct?days=30