Skip to content

REST API

The REST API backs the CLI and dashboard, and is available for your own tooling. All requests require an Authorization: Bearer <api-key> header.

Base URL: https://api.nimbus.dev/v1

List projects in your account.

Terminal window
curl https://api.nimbus.dev/v1/projects \
-H "Authorization: Bearer $NIMBUS_API_KEY"

Trigger a deployment from a tarball or git ref.

Terminal window
curl -X POST https://api.nimbus.dev/v1/projects/prj_123/deployments \
-H "Authorization: Bearer $NIMBUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ref": "main", "env": "production"}'

Permanently delete a project and all of its deployments.

Terminal window
curl -X DELETE https://api.nimbus.dev/v1/projects/prj_123 \
-H "Authorization: Bearer $NIMBUS_API_KEY"

Requests are limited to 600 per minute per API key. Responses include the usual X-RateLimit-* headers so you can back off before hitting 429.