CDN zones of an organisation
GET/v1/orgs/{org}/cdn
API token or dashboard session
CDN zones of an organisation.
Path parameters
orgstringpathrequiredOrganisation slug
Responses
200CdnZone[]
Fields of CdnZone
created_atdate-timerequireddefault_ttl_secsintegerrequiredSeconds a response without caching headers is kept. Zero: only responses that ask to be cached are.
hostnamestringrequiredWhere the zone is served.
iduuidrequirednamestringrequiredoptimize_imagesbooleanrequiredWhether images are resized and re-encoded when the request asks, with
?width=,?height=,?quality=and?format=.originstringrequiredWhere its content comes from.
stale_secsintegerrequiredSeconds a response is still served past its lifetime while a fresh copy is fetched, unless it carries
stale-while-revalidateitself.
curl "https://api.infraflow.app/v1/orgs/acme/cdn" \ -H "Authorization: Bearer $INFRAFLOW_TOKEN"
[
{
"created_at": "2026-01-15T09:30:00Z",
"default_ttl_secs": 0,
"hostname": "www.example.com",
"id": "0197b2a4-5c1e-7d3a-9f10-4b6c8e2a1d55",
"name": "my-app",
"optimize_images": true,
"origin": "https://203.0.113.10",
"stale_secs": 0
}
]