/api/orgs/{org_id}/usage/requestsリクエストを一覧表示
sortを指定しない限り新しい順です。next_cursorがnullでない間は、同じクエリにそのフィールドをcursor_ts、cursor_id、cursor_after(並べ替えたページではcursor_value、cursor_beforeも)として付けて再送信してください。顧客プランのキーは自身のアイデンティティのリクエストのみ参照でき、sort、failure_class、conversationは使用できません。
認証: AuthorizationヘッダーにBearer形式のAPIキー
パスパラメーター
org_idstring必須お客様の組織ID(uuid)。
GET /api/whoamiで取得できます。
クエリパラメーター
windowenum現在までの遡及期間。
24hは時間単位、7dと30dは日単位でバケット化します。modelstring1つのモデルスラッグ(呼び出し元が要求したエイリアス)に絞り込みます。
api_key_idstring1つのAPIキー(uuid)に絞り込みます。
laneenum課金区分を1つに絞り込みます。
platform(プラットフォームのクレジット)またはbyok(独自キー、課金なし)。区分で絞り込むと、何もディスパッチされなかったリクエストは除外されます。statusenum終了状態。
completed以外の状態はすべてerrorです。limitintegerページあたりの行数(1〜200)。範囲外は422です。
attribution_labelstring1つのエンドユーザーラベルに絞り込みます。
cache_hits_onlybooleanキャッシュ入力トークンが記録されたリクエストのみ。
failure_classstring1つのエラークラス(完了しなかったリクエストのみ)。例:
provider_timeout。conversationstring1つの会話。ログに表示される8〜64文字の小文字の16進ハンドル。
startstring範囲の正確な開始(含む、ISO 8601)。
windowの代わりに使用します。endstring範囲の正確な終了(含まない、ISO 8601)。
sortenumtime(既定、新しい順)、oldest、またはcost、latency、tokensの大きい順。failure_classやconversationとは組み合わせられません。cursor_tsstringnext_cursor.ts。cursor_idstringnext_cursor.id。cursor_tsと一緒に渡します。cursor_afterstringnext_cursor.after:ページ間で期間の下限を固定します。cursor_valuestringnext_cursor.value(数値による並べ替えのみ)。cursor_beforestringnext_cursor.before(並べ替え済みのページのみ)。
レスポンス
2001ページ。
レスポンス
requestsarray<object>必須requests
request_idstring必須modelstring必須providerstring | null必須顧客向けのプロバイダー(マスクされたプラットフォームのルートは
experiential_cloudと表示)。何もディスパッチされなかった場合はnullです。laneenum必須api_key_idstring | null必須key_labelstring | null必須input_tokensinteger必須output_tokensinteger必須cached_input_tokensinteger必須請求どおりのキャッシュヒット数(
cache_credited_input_tokensを含む)。cache_credited_input_tokensintegerプラットフォームがキャッシュミスの原因となったため、キャッシュ料金で課金した入力。
reasoning_tokensinteger必須cost_usdnumber必須請求されたプラットフォームクレジット(ドル。BYOKの場合は0)。
estimated_cost_usdnumber必須課金されることのないBYOKの見積もり(ドル)。
free_usdnumber必須プロモーション負担の使用量の定価換算値(ドル)。
real_cost_usdnumber必須cost_usd+estimated_cost_usd。pricing_knownboolean必須成功した試行に既知の価格がなかった場合はfalse。この場合のコスト0は無料ではなく価格未設定を意味します。
latency_msinteger | null必須ttft_msinteger | null必須最初のストリーミングトークンまでの時間。観測されなかった場合はnullです。
statusenum必須deliveryobject | nullnullは未観測を意味し、未完了ではありません。
いずれか
object
request_idstring必須outcomeenum必須streamingboolean必須terminal_frame_seenboolean必須final_body_sentboolean必須client_disconnect_observedboolean必須inspection_completeboolean必須bytes_sentinteger必須body_messages_sentinteger必須data_frames_sentinteger必須started_atstring必須observed_atstring必須duration_msinteger必須
usage_evidenceobject | nullいずれか
object
usage_sourceenum必須input_tokensinteger | null必須output_tokensinteger | null必須cached_input_tokensinteger | null必須reasoning_tokensinteger | null必須no_dispatchboolean必須cache_write_input_tokensinteger | null必須プロバイダーのキャッシュに書き込まれた入力(キャッシュ書き込み料金で課金)。
web_search_requestsinteger | nullweb_search_fee_usdnumber | nullドル。すでにコストのフィールドに含まれています。
attempt_countinteger必須プロバイダーへの実際のディスパッチ数。0はディスパッチ前に拒否されたことを示します。
created_atstring必須tools_usedarray<string>必須ツール名の重複を除いた一覧(引数は含みません)。
failure_classstring | null必須完了しなかったリクエストの、サニタイズ済みの結果区分。
error_messagestring | null必須incomplete_reasonenumnon_zdr_providerstring | nullPartialのゼロデータ保持で、ゼロデータ保持を提供しないプロバイダーがこのリクエストを処理した場合の、そのプロバイダーの公開名。それ以外はnullです。
prompt_groupstring | null必須12桁の16進ハンドル。この値が同じリクエストは同じエージェント構成で実行されました。
conversation_groupstring | null必須12桁の16進ハンドル。この値が同じリクエストは1つの会話に属します。
attribution_labelstring | null必須tagsobjectX-Explabs-Tagsで送信された呼び出しタグ。
next_cursorobject | null必須1ページ分の件数が返された場合に設定されます。
いずれか
object
tsstring必須idstring必須afterstring必須valuestring | null最終行の並べ替え値(並べ替えたページのみ)。
beforestring | null固定された上限(並べ替えたページのみ)。
400フィルター、カーソル、または範囲が不正です。
レスポンス
errorstring必須人が読めるメッセージ。
codestringエンドポイントが定義している場合の、安定した機械可読の理由(例:
pro_required)。actionstringエンドポイントが定義している場合の、安定した対処アクション。
detailsobject呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。
401APIキーがない、不明、または失効しています。
レスポンス
errorstring必須人が読めるメッセージ。
codestringエンドポイントが定義している場合の、安定した機械可読の理由(例:
pro_required)。actionstringエンドポイントが定義している場合の、安定した対処アクション。
detailsobject呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。
404不明な組織か、キー自身の組織ではありません。
レスポンス
errorstring必須人が読めるメッセージ。
codestringエンドポイントが定義している場合の、安定した機械可読の理由(例:
pro_required)。actionstringエンドポイントが定義している場合の、安定した対処アクション。
detailsobject呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。
422limitが範囲外か、フィルター付きの数値による並べ替えが広すぎて読み取れません(sort_too_broad)。レスポンス
errorstring必須人が読めるメッセージ。
codestringエンドポイントが定義している場合の、安定した機械可読の理由(例:
pro_required)。actionstringエンドポイントが定義している場合の、安定した対処アクション。
detailsobject呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。
429読み取りが多すぎます。
rate_limited:この組織のAPIキーによるリクエストログの読み取りが、毎秒約10件(バースト30件)または1サーバーあたり同時4件を超えています(セッションには制限はありません)。build_capacity:共有の分析読み取りスロットが混雑しています。Retry-Afterの時間が経過してから再試行してください。レスポンス
errorstring必須人が読めるメッセージ。
codestringエンドポイントが定義している場合の、安定した機械可読の理由(例:
pro_required)。actionstringエンドポイントが定義している場合の、安定した対処アクション。
detailsobject呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。
リクエスト
curl 'https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/usage/requests?window=24h&model=gpt-6-luna&api_key_id=6b1d2f4e-3c8a-4f0e-9a21-7e5c0d9b4a33&lane=platform&status=error&limit=50&attribution_label=user_48121&cache_hits_only=false&failure_class=quota_exceeded&conversation=f02a6b19c4e8&start=2026-11-18T14%3A00%3A00Z&end=2026-11-18T15%3A00%3A00Z&sort=cost&cursor_ts=2026-11-18T14%3A32%3A07.481Z&cursor_id=req_01JD8ZK4M2Q7V9X3N5T6B8C0EF&cursor_after=2026-11-17T14%3A32%3A00Z&cursor_value=1284000&cursor_before=2026-11-18T14%3A32%3A07Z' \
-H "Authorization: Bearer <YOUR_API_KEY>"レスポンス
{
"requests": [
{
"request_id": "req_01JD8ZK4M2Q7V9X3N5T6B8C0EF",
"model": "gpt-6-luna",
"provider": "experiential_cloud",
"lane": "platform",
"api_key_id": "6b1d2f4e-3c8a-4f0e-9a21-7e5c0d9b4a33",
"key_label": "support-bot",
"input_tokens": 4210,
"output_tokens": 388,
"cached_input_tokens": 3584,
"cache_credited_input_tokens": 0,
"reasoning_tokens": 120,
"cost_usd": 0.001284,
"estimated_cost_usd": 0,
"free_usd": 0,
"real_cost_usd": 0.001284,
"pricing_known": true,
"latency_ms": 2140,
"ttft_ms": 410,
"status": "completed",
"delivery": {
"request_id": "req_01JD8ZK4M2Q7V9X3N5T6B8C0EF",
"outcome": "completed",
"streaming": true,
"terminal_frame_seen": true,
"final_body_sent": true,
"client_disconnect_observed": false,
"inspection_complete": true,
"bytes_sent": 18422,
"body_messages_sent": 96,
"data_frames_sent": 94,
"started_at": "2026-11-18T14:32:05.330Z",
"observed_at": "2026-11-18T14:32:07.470Z",
"duration_ms": 2140
},
"usage_evidence": {
"usage_source": "observed",
"input_tokens": 4210,
"output_tokens": 388,
"cached_input_tokens": 3584,
"reasoning_tokens": 120,
"no_dispatch": false,
"cache_write_input_tokens": null
},
"web_search_requests": null,
"web_search_fee_usd": null,
"attempt_count": 1,
"created_at": "2026-11-18T14:32:07.481Z",
"tools_used": [
"lookup_order"
],
"failure_class": null,
"error_message": null,
"incomplete_reason": null,
"non_zdr_provider": null,
"prompt_group": "9c41e07ab2d3",
"conversation_group": "f02a6b19c4e8",
"attribution_label": "user_48121",
"tags": {}
}
],
"next_cursor": {
"ts": "2026-11-18T14:32:07.481Z",
"id": "req_01JD8ZK4M2Q7V9X3N5T6B8C0EF",
"after": "2026-11-17T14:32:00Z",
"value": null,
"before": null
}
}https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/usage/requests?window=24h&model=gpt-6-luna&api_key_id=6b1d2f4e-3c8a-4f0e-9a21-7e5c0d9b4a33&lane=platform&status=error&limit=50&attribution_label=user_48121&cache_hits_only=false&failure_class=quota_exceeded&conversation=f02a6b19c4e8&start=2026-11-18T14%3A00%3A00Z&end=2026-11-18T15%3A00%3A00Z&sort=cost&cursor_ts=2026-11-18T14%3A32%3A07.481Z&cursor_id=req_01JD8ZK4M2Q7V9X3N5T6B8C0EF&cursor_after=2026-11-17T14%3A32%3A00Z&cursor_value=1284000&cursor_before=2026-11-18T14%3A32%3A07Z