All systems operational

Edge API Reference

Programmatic access to zones, cache purging, origin configuration and real-time traffic analytics. All requests are made over HTTPS and authenticated with a bearer token issued in the dashboard.

Base URL https://api.quasaredge.example/v1 Version 2026-09-15 Format JSON Rate limit 1200 req/min
Edge locations
214
API uptime (30d)
99.98%▲ 0.01
Median purge time
148 ms
p95 API latency
62 ms

List zones

GET/v1/zones
Returns a paginated list of zones available to the authenticated account, ordered by creation date.
Query paramTypeDescription
pageintegerPage number, default 1
per_pageintegerItems per page, max 100
statusstringactive | pending | paused
Response200 OK

Create zone

POST/v1/zones
Registers a new hostname on the edge network. DNS validation must be completed before the zone becomes active.
Body fieldTypeDescription
namerequiredstringFully-qualified hostname
originrequiredstringOrigin URL or IP
planstringfree | pro | business
Response201 Created

Purge cache

POST/v1/zones/{zone_id}/purge
Invalidates cached objects across all edge locations. Purge is asynchronous; poll the returned task to track propagation.
Body fieldTypeDescription
filesstring[]Up to 500 absolute URLs
tagsstring[]Cache-Tag values
purge_everythingbooleanPurge entire zone
Response202 Accepted

Get purge status

GET/v1/purge/{task_id}
Returns the propagation state of a purge task. Status transitions: queued → in_progress → completed.
Response200 OK

Update origin

PUT/v1/zones/{zone_id}/origin
Replaces the origin configuration for the zone, including failover and host header override.
Body fieldTypeDescription
primaryrequiredstringPrimary origin URL
fallbackstringFailover origin
host_headerstringOverride Host header
Response200 OK

Zone analytics

GET/v1/zones/{zone_id}/stats
Aggregated traffic metrics for a time range. Data granularity depends on the requested window.
Query paramTypeDescription
sinceISO 8601Start of range
untilISO 8601End of range
Response200 OK

Delete certificate

DELETE/v1/certs/{cert_id}
Removes a custom TLS certificate. Zones using it will fall back to the managed certificate.
Response204 No Content
// empty body

API console

Send a test request. Requests without a valid token will be rejected.

—
// response will appear here