Join us May 13th & May 14th at Interrupt, the Agent Conference by LangChain. Buy tickets >
curl --request GET \
--url https://api.example.com/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>",
"source_tarball_path": "<string>",
"repo_commit_sha": "<string>"
}
}Get a revision by ID for a deployment.
curl --request GET \
--url https://api.example.com/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>",
"source_tarball_path": "<string>",
"repo_commit_sha": "<string>"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response
Revision resource.
The ID of the revision.
This is a read-only field.
The creation time of the revision.
This is a read-only field.
The last update time of the revision.
This is a read-only field.
The status of the revision.
This is a read-only field.
CREATING, QUEUED, AWAITING_BUILD, BUILDING, AWAITING_DEPLOY, DEPLOYING, CREATE_FAILED, BUILD_FAILED, DEPLOY_FAILED, DEPLOYED, SKIPPED, INTERRUPTED, UNKNOWN Deploy from a GitHub repository (github) or an external Docker image (external_docker).
Deploying from GitHub 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.
github, external_docker, internal_docker, internal_source 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.
Show child attributes
Was this page helpful?