hosting

GET /v1/sites/{siteId}/cdn/tiered-cache

Read tiered caching and smart routing for a site's zone.

All hosting endpoints

Authentication

Send an API key as a bearer token. The key must carry the sites.view permission; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/cdn/tiered-cache \
  -H "Authorization: Bearer zdk_live_…"

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

`supported` is a fact about the **driver**; `tiered_cache_editable` is a fact about the **zone's plan**, and they are reported separately because a driver that can write the setting in general still cannot write it for a customer on a free plan — measured, the provider answers `editable: false` there. `smart_routing` is `null`, never `false`, when the provider refuses to report it at all. `false` would tell a customer that a paid feature they are not buying is simply switched off. Requires `sites.view`.

Parameters

NameTypeRequiredWhat it is
siteId (path)UuidYesSite ID (UUIDv7).

Response

NameTypeRequiredWhat it is
site_idUuidYesUUIDv7 identifier — sortable by creation time (docs/02 §8).
supportedbooleanYesA fact about the **driver** — whether this provider has the feature at all.
tiered_cachebooleanYes
tiered_cache_editablebooleanYesA fact about the **zone's plan**, reported separately from `supported`. A free zone answers `false` and the control must be disabled rather than offering a save the provider wil…
smart_routingbooleanYes`null` — never `false` — when the provider refuses to report it. `false` would tell a customer that a paid feature they are not buying is switched off.
smart_routing_editablebooleanYes

Errors this endpoint can return

401 · 403 · 404 · 429 · 503