billing
GET /v1/sla/policy
The published uptime commitment and its service-credit ladder.
Pengesahan
Hantar kunci API sebagai token pembawa. Titik akhir ini tidak menyatakan kebenaran tertentu dalam spesifikasi, jadi berikan kunci anda kebenaran minimum yang diperlukan dan semak respons tersebut daripada membuat andaian.
Titik akhir ini tidak memerlukan id organisasi. Kunci anda telah mengenal pasti organisasi kepunyaannya, dan respons dis skopkan kepadanya.
Cuba
Gantikan apa sahaja di dalam kurungan sudut dengan nilai anda sendiri, dan pemegang tempat kunci dengan kunci dari papan pemuka anda.
curl -X GET https://api.zinndigital.com/v1/sla/policy \
-H "Authorization: Bearer zdk_live_…"Sudah log masuk? Konsol API dalam papan pemuka anda mengisi id organisasi sebenar dan kunci anda sendiri, serta menjalankan permintaan terhadap API langsung supaya anda boleh melihat respons sebenar. Buka penamat ini dalam konsol API
Butiran
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.
Respons
| Nama | Jenis | Diperlukan | Apakah ia |
|---|---|---|---|
uptime_target_percent | string | Ya | 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 | Ya | Days after a month ends during which it may still be claimed. |
min_coverage_percent | string | Ya | 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>[] | Ya | 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[] | Ya | — |
Ralat yang boleh dikembalikan oleh titik akhir ini
401