Deploy
deploy
Methods
Create a new deployment.
Submits a deployment request. The deployment will:
- Parse and merge configuration files
- Create a Kubernetes Job running helm install
- Wait for deployment completion
- Return results
Get a deployment by its ID.
List all deployments with pagination and optional filters.
Filter deployments by agent name (via associated build)
Filter deployments by build ID
Filter deployments by preview label (e.g. branch name). The label is non-unique — many deployments can share it. Combine with limit=1 to get the latest deploy for that label.
Whether there are more items left to be fetched.
The total of items that match the query. This is greater than or equal to the number of items returned.
The maximum number of items to return.
Get structured log lines for a deployment with cursor-based pagination.
The CLI can poll this endpoint to stream logs incrementally:
- First call: no cursor
- Subsequent calls: cursor=next_cursor from the previous response
- Stop polling when the deployment reaches a terminal status
Soft-delete a deployment. Marks it as deleted and triggers K8s resource cleanup.
Domain types
Slim event representation for the API response.
Response containing structured deployment log lines with cursor-based pagination.
The CLI can poll this endpoint to stream logs incrementally:
- First call: no after_id
- Subsequent calls: after_id=next_cursor from previous response
- Stop polling when has_more is False and the deployment reaches a terminal status