v1

latestOpenAPI 3.1.02026-07-264048103.1 KB
Deployments (v2)

Get Revision

Get a revision by ID for a deployment.

get/v2/deployments/{deployment_id}/revisions/{revision_id}

Path parameters

deployment_idstring uuid required
revision_idstring uuid required

Response

Successful Response

idstring uuid required

The ID of the revision.<br><br>This is a read-only field.

created_atstring date-time required

The creation time of the revision.<br><br>This is a read-only field.

updated_atstring date-time required

The last update time of the revision.<br><br>This is a read-only field.

status'CREATING' | 'QUEUED' | 'AWAITING_BUILD' | 'BUILDING' | 'AWAITING_DEPLOY' | 'DEPLOYING' | 'CREATE_FAILED' | 'BUILD_FAILED' | 'DEPLOY_FAILED' | 'DEPLOYED' | 'SKIPPED' | 'INTERRUPTED' | 'UNKNOWN' required

The status of the revision.<br><br>This is a read-only field.

source'github' | 'external_docker' | 'internal_docker' | 'internal_source' | 'internal_template' required

Deploy from a GitHub repository (github), an external Docker image (external_docker), a CLI-pushed image (internal_docker), uploaded source (internal_source), or a prebuilt LangChain template (internal_template).<br><br>Deploying from GitHub, internal Docker, internal source, or a template is only available for Cloud SaaS deployments. Deploying from an external Docker image is only available for self-hosted deployments. This cannot be changed once the deployment is created.