billing
GET /v1/sla/policy
The published uptime commitment and its service-credit ladder.
身份验证
请将 API 密钥作为 bearer 令牌发送。此端点在规范中未指明具体的权限,因此请为您的密钥赋予所需的最小权限,并通过检查响应来确认,而不是盲目假设。
此端点不需要组织 ID。您的密钥已用于识别其所属的组织,且响应范围也仅限于该组织。
免费试用
将尖括号中的内容替换为您自己的值,并将键占位符替换为您仪表板中的一个键。
curl -X GET https://api.zinndigital.com/v1/sla/policy \
-H "Authorization: Bearer zdk_live_…"已登录?您仪表板中的 API 控制台会自动填入您真实的组织 ID 和您自己的密钥,并针对实时 API 运行请求,以便您查看实际的响应。 在 API 控制台中打开此端点
详细信息
The figure we stand behind, the credit owed at each tier, the exclusions and the claim window — **rendered from `engine/engine/sla/policy.py` and never retyped**. ⛔ Clients must interpolate these values into their own copy rather than writing "99.9%" into a locale catalogue: a figure translated into 58 languages cannot be grepped for and cannot be changed (`CLAUDE.md` §2.45). `min_coverage_percent` is the share of a month we must have measured before a reading adjudicates; below it the month is `unadjudicable` and the customer's claimed tier stands.
响应
| 名称 | 类型 | 必填 | 内容简介 |
|---|---|---|---|
uptime_target_percent | string | 是 | The published monthly commitment, e.g. `"99.9"`. A string, not a number, so a client renders exactly what we publish rather than a float's idea of it. |
claim_window_days | integer | 是 | Days after a month ends during which it may still be claimed. |
min_coverage_percent | string | 是 | The share of a month we must have measured for the reading to adjudicate. Below it the month is `unadjudicable` and the customer's claimed tier stands — our coverage gap is ours… |
exclusions | string<maintenance, customer, force_majeure>[] | 是 | What is not credited. ⛔ There is deliberately **no upstream-provider exclusion**: a hosting customer bought hosting from Zinn Digital® and never chose our suppliers, so whose ha… |
tiers | object[] | 是 | — |
此端点可能返回的错误
401