Patch Deployment Resource Tiers
Patch a deployment’s compute and database resource tiers independently.
Body
Request body for updating a deployment's scaling configuration.
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.
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 Extra Kubernetes objects stored for this deployment, in the format accepted by extra_manifests on create and PATCH. An empty list means no objects are stored.
Returned only by the get deployment endpoint, to user callers with permission to update the deployment, when extra manifests are enabled on this self-hosted installation and the deployment is not on a remote listener. Omitted otherwise.
Whether the deployment can be shared with LangSmith users outside the organization.
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. Null when compute has a custom size.
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. LEGACY_CUSTOM means the compute has a custom size that matches no tier.
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. LEGACY_CUSTOM means the database has a custom size that matches no tier.
SERVERLESS_S, SERVERLESS_M, SERVERLESS_L, DEDICATED_S, DEDICATED_M, DEDICATED_L 
