/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.
認証: AuthorizationヘッダーにBearer形式のAPIキー
パスパラメータ
org_idstring必須Your organization id (uuid).
GET /api/whoamireturns it.
クエリパラメータ
daysintegerWindow length in days, counted back from now.
レスポンス
200One row per (day, model).
レスポンス
daysinteger必須rowsarray<object>必須rows
daystring必須aliasstring必須Model slug.
request_countinteger必須input_tokensinteger必須output_tokensinteger必須cost_usdnumber必須Settled charged money in US dollars.
401Missing, unknown or revoked API key.
レスポンス
errorstring必須Human-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.
レスポンス
errorstring必須Human-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.
レスポンス
detailarray<object>必須detail
typestringlocarray<string | integer>msgstring
429The usage analytics store is busy; retry after the
Retry-Afterseconds.レスポンス
errorstring必須Human-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.
レスポンス
errorstring必須Human-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).
リクエスト
curl https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/provider/usage/by-model?days=30 \
-H "Authorization: Bearer YOUR_API_KEY"レスポンス
{
"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