dots.v2.dedicatedInferences.byDedicated_inference_id().patch()
Generated on 5 Nov 2026
from DoTs version
v1.23.0
Usage
client.v2.dedicatedInferences.byDedicated_inference_id(dedicated_inference_id).patch(body: Dedicated_inference_update_request, requestConfiguration?: RequestConfiguration<object>): Promise<undefined | WithDedicated_inference_PatchResponse>Description
Update an existing Dedicated Inference. Send a PATCH request to
/v2/dedicated-inferences/{dedicated_inference_id} with updated spec and/or
access_tokens. Status will move to updating and return to active when done.
Parameters
Path Parameters
dedicated_inference_idstring requiredExample:
6b5c619c-359c-44ca-87e2-47e98170c01dA unique identifier for a Dedicated Inference instance.
Request Body
specobject optionalStructured configuration for a Dedicated Inference deployment.
Show child properties
versioninteger requiredExample:
1Spec version.
namestring requiredExample:
new-dedicated-inferenceName of the Dedicated Inference. Must be unique within the team.
regionstring requiredDigitalOcean region where the Dedicated Inference is hosted.
vpcobject requiredShow child properties
uuidstring requiredExample:
997615ce-132d-4bae-9270-9ee21b395e5dVPC UUID for the Dedicated Inference.
enablePublicEndpointboolean requiredWhether to expose a public LLM endpoint.
modelDeploymentsarray of objects requiredAt least one model deployment is required.
Show child properties
modelIdstring optionalUsed to identify an existing deployment when updating; empty means create new.
modelSlugstring optionalExample:
mistral/mistral-7b-instruct-v3Model identifier (e.g. Hugging Face slug).
modelProviderstring optionalExample:
hugging_faceModel provider.
workloadConfigobject optionalWorkload-specific configuration (e.g. ISL/OSL in future).
acceleratorsarray of objects optionalAccelerator configuration for this deployment.
Show child properties
scaleinteger requiredExample:
1Number of accelerator instances.
typestring requiredExample:
prefill_decodeAccelerator type (e.g. prefill_decode).
acceleratorSlugstring requiredExample:
gpu-mi300x1-192gbDigitalOcean GPU slug.
statusstring optional read-onlyCurrent state of the Accelerator.
accessTokensobject optionalProvider tokens for model access (e.g. gated Hugging Face models).
Show child properties
huggingFaceTokenstring optionalExample:
$HF_TOKENHugging Face token required for gated models.
Request Sample
Response Example
More Information
See /v2/dedicated-inferences/{dedicated_inference_id} in the API reference for additional detail on responses, headers, parameters, and more.