API reference
The Corvus Edge API is a JSON-over-HTTPS interface for managing projects, releases, and cache state. All endpoints are versioned and stable within a major version.
Base URL
https://api.corvusedge.io/v2
Authentication
Every request must carry a bearer token. Tokens are scoped to a single team and can be restricted to a subset of scopes.
curl https://api.corvusedge.io/v2/projects \
-H "Authorization: Bearer $CORVUS_TOKEN"
| Scope | Grants |
|---|---|
projects:read | List projects, read release metadata |
projects:write | Create projects, deploy releases, promote or roll back |
cache:purge | Invalidate cached objects by path or tag |
Create a release
POST /v2/projects/{project}/releases
Releases are created from an uploaded manifest. Upload the archive first, then reference its digest:
curl -X POST https://api.corvusedge.io/v2/projects/marketing-site/releases \
-H "Authorization: Bearer $CORVUS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"digest": "sha256:4f9c21a8e0b1c7d3",
"target": "production",
"message": "Refresh pricing page"
}'
A successful call returns the release object. Promotion is a separate, explicit step unless target is set:
{
"id": "rel_8a71f0c",
"project": "marketing-site",
"status": "ready",
"created_at": "2026-11-28T14:02:11Z",
"objects": 214,
"bytes": 19293772
}
Purge the cache
POST /v2/projects/{project}/purge
{"paths": ["/pricing", "/assets/*"], "tags": ["nav"]}
Purges are asynchronous and return a job id. Poll GET /v2/jobs/{id} or subscribe to the purge.completed webhook.
Errors
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_manifest | The manifest failed validation; check object paths and sizes. |
| 401 | unauthorized | Missing, expired, or revoked token. |
| 403 | insufficient_scope | Token lacks the required scope for this route. |
| 409 | release_conflict | A deploy is already in flight for this target. |
| 429 | rate_limited | Back off using the Retry-After header. |
Rate limits
Reads are limited to 600 requests per minute per token; writes to 60. Limits are applied per token, not per IP, and responses include x-ratelimit-remaining.