dots.v2.dedicatedInferences.post()
Generated on 5 Nov 2026
from DoTs version
v1.23.0
Usage
client.v2.dedicatedInferences.post(body: Dedicated_inference_create_request, requestConfiguration?: RequestConfiguration<object>): Promise<undefined | DedicatedInferencesPostResponse>Description
Create a new Dedicated Inference for your team. Send a POST request to
/v2/dedicated-inferences with a spec object (version, name, region, vpc,
enable_public_endpoint, model_deployments) and optional access_tokens (e.g.
hugging_face_token for gated models). The response code 202 Accepted indicates
the request was accepted for processing; it does not indicate success or failure.
The token value is returned only on create; store it securely.
Parameters
specobject requiredStructured 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 optionalExample:
{"hugging_face_token": "$HF_TOKEN"}Key-value pairs for provider tokens (e.g. Hugging Face).
Response Example
More Information
See /v2/dedicated-inferences in the API reference for additional detail on responses, headers, parameters, and more.