Skip to main content
GET
/
v2
/
deployments
/
{deployment_id}
/
revisions
/
{revision_id}
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "status": "CREATING",
  "source": "github",
  "source_revision_config": {
    "repo_ref": "<string>",
    "langgraph_config_path": "<string>",
    "image_uri": "<string>",
    "repo_commit_sha": "<string>"
  }
}

Path Parameters

deployment_id
string<uuid>
required
revision_id
string<uuid>
required

Response

Successful Response

Revision resource.

id
string<uuid>
required

The ID of the revision.

This is a read-only field.

created_at
string<date-time>
required

The creation time of the revision.

This is a read-only field.

updated_at
string<date-time>
required

The last update time of the revision.

This is a read-only field.

status
enum<string>
required

The status of the revision.

This is a read-only field.

Available options:
CREATING,
QUEUED,
AWAITING_BUILD,
BUILDING,
AWAITING_DEPLOY,
DEPLOYING,
CREATE_FAILED,
BUILD_FAILED,
DEPLOY_FAILED,
DEPLOYED,
SKIPPED,
INTERRUPTED,
UNKNOWN
source
enum<string>
required

Deploy from a GitHub repository (github) or a Docker image (external_docker).

Deploying from GitHub is only available for Cloud SaaS deployments. Deploying from a Docker image is only available for self-hosted deployments. This cannot be changed once the deployment is created.

Available options:
github,
external_docker
source_revision_config
SourceRevisionConfig ยท object
required

Source revision configuration.

For a Deployment resource, the field values refer to the latest revision of the Deployment. For a Revision resource, the field values refer to the Revision itself.