usage.threshold_reached
API 版本 2026-10-affable-towhee
Lingara → 你 usage.threshold_reached
一隻計量帳號抑係用戶端,已經用掉佢每月支出上限个一定比例。淨報告跨過个最高門檻,所以用量從 40% 跳到 95%,只會送一隻 threshold_pct 係 90 个事件。用額度付錢个整合永遠收毋著。
權限範圍 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"
}
}假使翻譯㧯英文參考文件無共樣,就以英文參考文件為準。