Deployments and logs API
See the API guide for authentication and retries, or the endpoint index for other resources. All paths below are relative to your dashboard host.
List deployments
GET /api/v1/projects/{projectId}/deployments
List deployment metadata. Build snapshots and variable values are excluded.
Permission: deployments:read · Team member.
MCP: list_deployments.
Path parameters
Query parameters
Response: HTTP 200.
Get deployment
GET /api/v1/deployments/{deploymentId}
Read deployment status by immutable deployment ID.
Permission: deployments:read · Team member.
MCP: get_deployment.
Path parameters
Query parameters
None.
Response: HTTP 200.
Read deployment logs
GET /api/v1/deployments/{deploymentId}/logs
Read bounded build or control log entries. Application output may contain secrets.
Permission: logs:read · Team member.
MCP: read_deployment_logs.
Path parameters
Query parameters
Response: HTTP 200.
Read runtime logs
GET /api/v1/projects/{projectId}/runtime-logs
Read bounded runtime output from current environment server assignments. Application output may contain secrets.
Permission: logs:read · Team member.
MCP: read_runtime_logs.
Path parameters
Query parameters
Response: HTTP 200.
Deploy
POST /api/v1/projects/{projectId}/deployments
Queue a deployment from a matching GitHub branch. Requires a unique idempotencyKey; returns acceptance, not execution success.
Permission: deployments:write · Team member.
MCP: deploy.
Path parameters
JSON body
Send Idempotency-Key as a header, not a body field.
Response: HTTP 202.
Redeploy
POST /api/v1/deployments/{deploymentId}/redeploy
Queue the recorded commit and runtime settings with current routing.
Permission: deployments:write · Team member.
MCP: redeploy.
Path parameters
JSON body
None.
Send Idempotency-Key as a header, not a body field.
Response: HTTP 202.
Rollback
POST /api/v1/deployments/{deploymentId}/rollback
Queue a successful recorded commit and runtime settings with current routing.
Permission: deployments:write · Team member.
MCP: rollback.
Path parameters
JSON body
Send Idempotency-Key as a header, not a body field.
Response: HTTP 202.
Get deployment options
GET /api/v1/projects/{projectId}/deploy-options
List one provider page of matching branches and recent commits only for the selected branch. Continue with nextCursor to reach later matching branches, including after empty filtered pages.
Permission: deployments:read · Team member.
MCP: get_deployment_options.
Path parameters
Query parameters
Response: HTTP 200.