Limits
Auth: 需要 Authorization: Bearer zpk_...。不消耗限流令牌。
GET /v1/limits
只读查看当前令牌桶状态。在大批量发出请求前使用,以检查可用的突发容量。
Response 200
{
"per_customer": {
"limit": 60,
"remaining": 47,
"reset_at": "2026-05-29T15:30:00Z"
},
"per_channel": null,
"per_key": null
}| 字段 | 含义 |
|---|---|
per_customer.limit | 你的账户每个窗口的令牌总数。 |
per_customer.remaining | 触发 429 前剩余的令牌数。 |
per_customer.reset_at | 令牌桶补充的时间。 |
per_channel | 每 channel 限额(若你的套餐未强制执行则为 null)。 |
per_key | 每密钥限额(若你的套餐未强制执行则为 null)。 |
每个响应都会返回的限流 headers,见 Reference -> Rate limits。