Expand description
Coding Plan usage / quota query client.
Wraps the GLM Coding Plan “余量查询” endpoint
GET https://open.bigmodel.cn/api/monitor/usage/quota/limit. The endpoint is
authenticated with a normal Bearer API key and reports the per-5-hour and
weekly quota consumption / remaining amounts for the subscribed Coding Plan.
See https://docs.bigmodel.cn/cn/coding-plan/extension/usage-query-plugin and the community CLI https://github.com/JinHanAI/coding-plan-monitor.
Structs§
- Coding
Plan Quota Limit - One quota window reported by the monitor endpoint.
- Coding
Plan Quota Summary - Easy-to-use quota-window view derived from
CodingPlanQuotaLimit. - Coding
Plan Usage Data datapayload returned by the quota-limit endpoint.- Coding
Plan Usage Detail - Per-model usage breakdown returned for some quota windows.
- Coding
Plan Usage Request - Coding Plan usage / quota query request
(
GET /api/monitor/usage/quota/limit). - Coding
Plan Usage Response - Standard
{code, msg, success, data}envelope used by the monitor API. - Coding
Plan Usage Summary - Easy-to-use Coding Plan usage view.
Enums§
- Coding
Plan Quota Kind - Normalized quota-window kind.