Patch Deployment Resource Tiers
Patch a deployment’s compute and database resource tiers independently.
Path Parameters
Body
Request body for updating a deployment's compute and database tiers independently.
At least one of compute_tier or database_tier must be provided. A field
left null keeps the deployment's current tier for that resource.
Fixed resource tier to apply to the deployment's compute. Serverless deployments support SERVERLESS_S, SERVERLESS_M, and SERVERLESS_L; dedicated deployments support DEDICATED_S, DEDICATED_M, and DEDICATED_L. Leave null to keep the current compute tier.
SERVERLESS_S, SERVERLESS_M, SERVERLESS_L, DEDICATED_S, DEDICATED_M, DEDICATED_L Fixed resource tier to apply to the deployment's database. Only supported for dedicated deployments (DEDICATED_S, DEDICATED_M, DEDICATED_L). Leave null to keep the current database tier.
SERVERLESS_S, SERVERLESS_M, SERVERLESS_L, DEDICATED_S, DEDICATED_M, DEDICATED_L Response
Successful Response
Deployment resource.
Name of the deployment.
A LangSmith tracing project with the same name will also automatically be created. This cannot be changed once the deployment is created.
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, 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.
List of Kubernetes Secret references.
Only applicable for external_docker source.
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. Falls back to deployment_tier for deployments predating independent compute/database scaling.
SERVERLESS_S, SERVERLESS_M, SERVERLESS_L, DEDICATED_S, DEDICATED_M, DEDICATED_L The selected fixed resource tier for this deployment's database. Falls back to deployment_tier for deployments predating independent compute/database scaling.
SERVERLESS_S, SERVERLESS_M, SERVERLESS_L, DEDICATED_S, DEDICATED_M, DEDICATED_L 
