Corvus Edge v2.4.1
Docs / Reference / API

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"
ScopeGrants
projects:readList projects, read release metadata
projects:writeCreate projects, deploy releases, promote or roll back
cache:purgeInvalidate 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

StatusCodeMeaning
400invalid_manifestThe manifest failed validation; check object paths and sizes.
401unauthorizedMissing, expired, or revoked token.
403insufficient_scopeToken lacks the required scope for this route.
409release_conflictA deploy is already in flight for this target.
429rate_limitedBack 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.