billing
GET /v1/sla/policy
The published uptime commitment and its service-credit ladder.
Autenticación
Envía una clave de API como token de portador. Este endpoint no especifica un permiso concreto en la especificación, así que otorga a tu clave los mínimos privilegios necesarios y comprueba la respuesta en lugar de dar por sentado.
Este endpoint no requiere ningún id de organización. Su clave ya identifica la organización a la que pertenece, y la respuesta está delimitada a ella.
Pruébalo
Reemplaza cualquier elemento entre corchetes angulares por tus propios valores, y el marcador de posición key con una clave de tu panel de control.
curl -X GET https://api.zinndigital.com/v1/sla/policy \
-H "Authorization: Bearer zdk_live_…"¿Has iniciado sesión? La consola de la API en tu panel de control rellena el ID de tu organización real y tu propia clave, y ejecuta la solicitud contra la API en vivo para que puedas ver la respuesta real. Abre este endpoint en la consola de la API
Detalles
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.
Respuesta
| Nombre | Tipo | Obligatorio | ¿Qué es esto? |
|---|---|---|---|
uptime_target_percent | string | Sí | 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 | Sí | Days after a month ends during which it may still be claimed. |
min_coverage_percent | string | Sí | 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>[] | Sí | 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[] | Sí | — |
Errores que este endpoint puede devolver
401