API Reference
Everything the dashboard and CLI can do is available over a JSON API. All requests go to https://api.cirrolane.dev.
Authentication
Send a workspace token as a bearer token. Create scoped tokens under Settings, then Tokens.
Rate limits
1,200 requests per minute per token. Remaining quota is returned in the response headers.
Errors
Errors use standard HTTP codes with a JSON body holding a code, a message and a request id.
Projects
A project groups deployments, domains, secrets and scaling rules for one application.
/v3/projectsList projects in the current workspace./v3/projectsCreate a project from a repository or an empty template./v3/projects/{id}Retrieve a single project with its current configuration./v3/projects/{id}Update regions, scaling limits or build settings./v3/projects/{id}Delete a project and all of its deployments.Deployments
Every deployment is immutable. Promote, roll back or inspect any version at any time.
/v3/projects/{id}/deploymentsCreate a deployment from an uploaded bundle or a git ref./v3/deployments/{id}Fetch status, build output and region rollout progress./v3/deployments/{id}/promotePromote a preview deployment to production./v3/deployments/{id}/rollbackInstantly route traffic back to this deployment.curl -X POST https://api.cirrolane.dev/v3/projects/prj_8f2k/deployments \
-H "Authorization: Bearer $CIRROLANE_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "ref": "main", "target": "production" }'{
"id": "dpl_41xq9",
"status": "rolling_out",
"regions": { "ready": 27, "total": 31 },
"url": "https://acme-prod.cirrolane.dev",
"createdAt": "2026-10-12T09:41:07Z"
}Domains & TLS
Attach custom domains. Certificates are issued and renewed automatically.
/v3/projects/{id}/domainsList domains and their verification state./v3/projects/{id}/domainsAdd a domain and receive the DNS records to set./v3/domains/{name}Detach a domain from its project.Environment & Secrets
Secrets are encrypted at rest and only decrypted inside the running isolate.
/v3/projects/{id}/envList variable names and the environments they apply to./v3/projects/{id}/envCreate or replace a variable for one or more environments./v3/projects/{id}/env/{key}Remove a variable. Takes effect on the next deployment.Logs & Metrics
Stream logs in real time or query request metrics by region and status.
/v3/deployments/{id}/logsStream runtime logs as server-sent events./v3/projects/{id}/metricsRequest counts, latency percentiles and error rates.