usage.threshold_reached
API バージョン 2026-10-affable-towhee
Lingara → あなた usage.threshold_reached
従量課金のアカウントまたはクライアントが、月間支出上限の一定割合を使用しました。超えたしきい値のうち最も高いものだけが通知されるため、利用量が 40% から 95% に跳ね上がった場合は、threshold_pct が 90 のイベントが1件送られます。利用枠から課金される連携がこれを受け取ることはありません。
スコープ events:readusage:read
伝送方式 Webhook フィードGET /v1/events ストリームGET /v1/events/stream
ペイロード
idstring必須typestring必須created_atstring必須api_versionstring必須subjectstring必須dataUsageThresholdReachedData必須scopeThresholdScope必須threshold_pctinteger必須monthstring必須client_idstring | null任意
例
{
"id": "lgr_evt_9e8d7c6b5a4f3e2d1c0b9a8f7e6d5c4b",
"type": "usage.threshold_reached",
"created_at": "2026-10-01T12:00:00Z",
"api_version": "2026-09-equipped-boxfish",
"subject": "lgr_sub_8f445eaad6febfab1731b2f8cb17c24e",
"data": {
"scope": "client",
"threshold_pct": 100,
"month": "2026-10",
"client_id": "lgr_cid_4hT9kQ2mZx7Lp1Vb8Nc3Rw"
}
}翻訳と英語版リファレンスの内容が異なる場合は、英語版リファレンスが正しいものとします。