Redeploy Revision
Redeploy a specific revision ID.
Response
Successful Response
Deployment resource.
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).
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.
github, external_docker, internal_docker, internal_source, internal_template Source configuration.
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.
The ID of the deployment.
This is a read-only field.
The ID of the tenant that owns the deployment.
This is a read-only field.
The creation time of the deployment.
This is a read-only field.
The last update time of the deployment.
This is a read-only field.
The status of the deployment.
This is a read-only field.
AWAITING_DATABASE, READY, UNUSED, AWAITING_DELETE, AWAITING_FINAL_DELETE, UNKNOWN The ID of the latest revision of the deployment.
This is a read-only field.
The ID of the current (actively deployed) revision of the deployment.
This is a read-only field.
Deployment name. Required when agent is omitted; retained as the agent identity in the production environment when agent associations are enabled. Omit when supplying agent to generate a deployment name.
1Agent and environment to deploy. Both fields are required when supplied.
List of Kubernetes Secret references.
Only applicable for external_docker source.
Whether the deployment can be shared with LangSmith users outside the organization.
Route OpenAI and Anthropic model calls through the LangSmith LLM gateway.
The ID of the LangSmith tracing project the deployment writes runs to.
This is a read-only field.
The deployment's serving URL, once provisioned.
This is a read-only field.
Whether this is a preview-build deployment. Full preview metadata (parent deployment, PR, lifecycle) is available from the preview-builds details endpoint.
This is a read-only field.
Image version of the deployment.
Human-readable display name for the deployment.
Whether this deployment is a Managed Deep Agent deployment.
This is a read-only field.
The selected fixed resource tier for this deployment. Existing deployments without an explicit selection return the default tier for their deployment type. When compute and database tiers differ, this reflects the compute tier.
SERVERLESS_S, SERVERLESS_M, SERVERLESS_L, DEDICATED_S, DEDICATED_M, DEDICATED_L The selected fixed resource tier for this deployment's compute. Deployments without an explicit selection return the default tier for their deployment type.
SERVERLESS_S, SERVERLESS_M, SERVERLESS_L, DEDICATED_S, DEDICATED_M, DEDICATED_L The selected fixed resource tier for this deployment's database. Deployments without an explicit selection return the default tier for their deployment type.
SERVERLESS_S, SERVERLESS_M, SERVERLESS_L, DEDICATED_S, DEDICATED_M, DEDICATED_L 
