production, staging, or preview.
Base URL: https://inference.varo.cloud/v1
All requests require an Authorization: Bearer YOUR_API_KEY header.
GET /deployments
Returns a paginated list of deployments, optionally filtered by project, environment, or status.Filter deployments to a specific project by its ID.
Filter by target environment name (e.g.
production, staging).Filter by deployment status. One of
queued, building, deploying, active, failed, cancelled, or rolled_back.Number of results to return per page. Maximum value is 100.
Pagination cursor from a previous response to retrieve the next page.
POST /deployments
Creates and queues a new deployment for the specified project and environment.The ID of the project to deploy to.
The target environment name, such as
production, staging, or preview.Describes the deployment source. Must include a
type field of either git or image, plus the corresponding fields described below.The source type. Use
git to deploy from a repository branch or tag, or image to deploy a pre-built container image.Required when
source.type is git. The repository path in owner/repo format.The branch to deploy. Used when
source.type is git.A specific tag to deploy. Used when
source.type is git. Takes precedence over branch when both are provided.Required when
source.type is image. The full URL of the container image to deploy, including tag.GET /deployments/
Retrieves the full details of a single deployment.The unique identifier of the deployment.
GET /deployments//logs
Returns an array of log entries generated during the deployment build and rollout process. This endpoint is useful for inspecting build output, error messages, and runtime startup logs.The unique identifier of the deployment whose logs you want to retrieve.
ISO 8601 datetime string for when the log entry was emitted.
Severity level of the log entry. One of
info, warn, or error.The log message text.
POST /deployments//rollback
Rolls back the specified deployment by creating a new deployment targeting the most recent previously active version in the same environment.The unique identifier of the deployment to roll back from.
Rollback creates a new deployment pointing to the previous stable version. It does not modify or revert the original deployment record. You can inspect the new deployment object to track the rollback’s progress through the normal deployment lifecycle.
POST /deployments//cancel
Cancels a deployment that is currently in thequeued or building state.
The unique identifier of the deployment to cancel.
Deployment Object
Unique identifier for the deployment, prefixed with
dep_.The ID of the project this deployment belongs to.
The target environment name (e.g.
production, staging).Current lifecycle status of the deployment. One of
queued, building, deploying, active, failed, cancelled, or rolled_back.An object describing the deployment source, including
type, repo, branch, tag, and image_url.The resolved version string (e.g. a Git tag or image digest).
null while the deployment is still queued or building.ISO 8601 datetime string for when the deployment was created.
ISO 8601 datetime string for when the deployment was last updated.
ISO 8601 datetime string for when the deployment reached a terminal state (
active, failed, cancelled, or rolled_back). null if the deployment is still in progress.