/api/orgs/{org_id}/provider-connections/accounts/usageプロバイダーアカウントの使用量を一覧表示
プール順に並んだ組織のすべてのアカウントと、その判定、プール制御、現在そのプロバイダーのトラフィックを負担しているかどうか、直近の期間のゲートウェイ使用量(その認証情報が処理した呼び出しのみ)。estimated_cost_usdはドル建ての定価換算値です。BYOKのトラフィックがクレジットに請求されることはありません。どのメンバーも読み取れます。
認証: AuthorizationヘッダーにBearer形式のAPIキー
パスパラメーター
org_idstring必須お客様の組織ID(uuid)。
GET /api/whoamiで取得できます。
クエリパラメーター
daysinteger直近の期間(日数)。
レスポンス
200アカウントごとの使用量。
レスポンス
daysinteger必須sincestring必須accountsarray<object>必須accounts
providerenum必須組織が独自のキーを接続できるプロバイダー。kenari、kiosapi、tokenharbor、groq、nvidia_nimは全プランで利用できる無料枠のプロバイダーです。
setup_aliasstring必須credential_last4string | null必須credential_kindenum必須アカウントの認証情報の種類。
planobject | null必須いずれか
object
labelstring必須plan_typestring | null必須例:plus、pro、team、max。
primaryobject | null必須いずれか
object
used_percentinteger必須reset_atstring | null必須window_minutesinteger | null必須
secondaryobject | null必須いずれか
object
used_percentinteger必須reset_atstring | null必須window_minutesinteger | null必須
derivedobject | nullいずれか
object
five_hourobject | null必須いずれか
object
requestsinteger必須input_tokensinteger必須cached_input_tokensinteger必須output_tokensinteger必須first_activitystring | null必須last_activitystring | null必須
seven_dayobject | null必須いずれか
object
requestsinteger必須input_tokensinteger必須cached_input_tokensinteger必須output_tokensinteger必須first_activitystring | null必須last_activitystring | null必須
checked_atstring | null必須scopeenumorg:共有プール。account:owner_user_idが作成したAPIキーのみ。owner_user_idstring | nullrotation_pausedboolean一時停止中のプランはリクエストを処理しません。
refreshes_atstring | null使い切ったウィンドウにより一時停止したプランが更新される時刻。
statusenum必須プロバイダーが確認したキーの状態で、接続チェックと実際のトラフィックによって書き込まれます。
provider_errorはチェック時にプロバイダーに到達できなかったことを示し、キーが不正であることを意味しません。status_checked_atstring | null必須priorityinteger必須exhaustion_fallbackboolean必須ratelimit_failoverboolean必須fundingboolean必須このアカウントが現在プロバイダーのトラフィックを負担しているかどうか。
attemptsinteger必須completedinteger必須quota_exceededinteger必須throttledinteger必須input_tokensinteger必須cached_input_tokensinteger必須output_tokensinteger必須estimated_cost_usdnumber必須このアカウントが処理した呼び出しの定価換算値(ドル、課金されません)。
last_attempt_atstring | null必須
401APIキーがない、不明、または失効しています。
レスポンス
errorstring必須人が読めるメッセージ。
codestringエンドポイントが定義している場合の、安定した機械可読の理由(例:
pro_required)。actionstringエンドポイントが定義している場合の、安定した対処アクション。
detailsobject呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。
404リソースが存在しないか、他の組織に属しています。
レスポンス
errorstring必須人が読めるメッセージ。
codestringエンドポイントが定義している場合の、安定した機械可読の理由(例:
pro_required)。actionstringエンドポイントが定義している場合の、安定した対処アクション。
detailsobject呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。
422ボディまたはクエリの検証に失敗しました。
レスポンス
detailarray<object>必須detail
typestringlocarray<string | integer>msgstring
リクエスト
curl 'https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/provider-connections/accounts/usage?days=7' \
-H "Authorization: Bearer <YOUR_API_KEY>"レスポンス
{
"days": 7,
"since": "2026-11-12T14:15:00.000000+00:00",
"accounts": [
{
"provider": "openai",
"setup_alias": "openai-main",
"credential_last4": "x9Qa",
"credential_kind": "api_key",
"plan": null,
"status": "valid",
"status_checked_at": "2026-11-19T14:02:11.482Z",
"priority": 0,
"exhaustion_fallback": true,
"ratelimit_failover": true,
"funding": true,
"attempts": 4210,
"completed": 4188,
"quota_exceeded": 0,
"throttled": 17,
"input_tokens": 38102455,
"cached_input_tokens": 21044310,
"output_tokens": 2210877,
"estimated_cost_usd": 61.37,
"last_attempt_at": "2026-11-19T14:14:52.004Z"
}
]
}https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/provider-connections/accounts/usage?days=7