/api/orgs/{org_id}/observability/usageログと保存容量の使用状況を取得
今月のログ対象リクエスト数とプランの利用枠(ナノUSDでの超過見込みと引き落とし済みのクレジット)、新しいコンテンツを保存しているかどうか、含まれる保存容量に対する保存データ量とGB・月あたりの請求見込み、コンテンツの保持期間の上限、AIチェックを返します。日次の集計から読み取ります。どのメンバーまたはキーでも呼び出せます。
認証: AuthorizationヘッダーにBearer形式のAPIキー
パスパラメーター
org_idstring必須お客様の組織ID(uuid)。
GET /api/whoamiで取得できます。
レスポンス
200今月これまでの状況。
レスポンス
tierenum必須modeenum必須measureは請求せずに数え、enforceは超過分をクレジットから引き落とします。monthstring必須UTCの月の初日。
loggingobject必須プランの利用枠に対するログ対象リクエスト数。
logging
loggedintegerincludedintegeroverage_tiersarray<object>段階的な超過料金。各段階は超過リクエストの累計が
up_toに達するまで適用されます(nullは上限なし)。overage_tiers
up_tointeger | nullnano_usd_per_1000integer
overage_unitsintegerprojected_charge_nano_usdintegercharged_creditsinteger今月の超過分としてすでに引き落とされたクレジット。
store_contentboolean新しいコンテンツを保存しているかどうか。利用枠を超えてもコンテンツは保存されます。
reasonenumoverage:超過分をクレジットで支払うプランで利用枠を超えている。over_allowance:支払い手段がないまま利用枠を超えている。利用枠内ではnull。charges_fromstring | null超過分の請求が始まる最初の月。請求されていない間はnull。
storageobject必須含まれる保存容量に対する保存データ量。
storage
bytesinteger最新の計測による保存バイト数。
measured_onstring | nullmonth_average_bytesintegerincluded_bytesinteger | nullnano_usd_per_gb_monthinteger | nullprojected_charge_nano_usdintegercharges_fromstring | null保存容量の請求が始まる最初の月。請求されていない間はnull。
can_payboolean含まれる保存容量を超えた分をクレジットで支払えるかどうか。
evictingboolean保存容量の条件が有効な間に、支払い手段がないまま含まれる保存容量を超えている状態。古いコンテンツから削除されます。
retentionobject必須retention
content_max_daysinteger | nullプランのコンテンツ保持期間の上限(日数)。上限がない場合はnull。
enforcedboolean上限が有効かどうか。
effective_atstring | null
ai_checksobject必須プランのAIチェック。判定1回(判定したリクエストまたはセッション)ごとに1回と数えます。
ai_checks
plan_billingbooleanこの条件が適用されているかどうか。
includedinteger | nullnano_usd_per_checkinteger | nullusedinteger今月(UTC)のAIチェック(判定)の回数。
リクエスト
curl 'https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/observability/usage' \
-H "Authorization: Bearer <YOUR_API_KEY>"レスポンス
{
"tier": "pro",
"mode": "enforce",
"month": "2026-12-01",
"logging": {
"logged": 120000,
"included": 100000,
"overage_tiers": [
{
"up_to": 1000000,
"nano_usd_per_1000": 60000000
},
{
"up_to": 10000000,
"nano_usd_per_1000": 50000000
},
{
"up_to": null,
"nano_usd_per_1000": 40000000
}
],
"overage_units": 20000,
"projected_charge_nano_usd": 1200000000,
"charged_credits": 60,
"store_content": true,
"reason": "overage",
"charges_from": "2026-12-01"
},
"storage": {
"bytes": 12400000000,
"measured_on": "2026-12-02",
"month_average_bytes": 12000000000,
"included_bytes": 10000000000,
"nano_usd_per_gb_month": 500000000,
"projected_charge_nano_usd": 1200000000,
"charges_from": "2026-12-01",
"can_pay": true,
"evicting": false
},
"retention": {
"content_max_days": 90,
"enforced": true,
"effective_at": "2026-11-20T00:00:00Z"
},
"ai_checks": {
"plan_billing": true,
"included": 6500,
"nano_usd_per_check": 550000,
"used": 1840
}
}https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/observability/usage