pydo.dedicated_inferences.create_tokens()
Generated on 3 Aug 2026
from pydo version
v0.40.0
Usage
client.dedicated_inferences.create_tokens(
dedicated_inference_id="6b5c619c-359c-44ca-87e2-47e98170c01d",
body={
"name": "new-inference-token",
},
)Description
Create a new access token for a Dedicated Inference instance. Send a POST
request to /v2/dedicated-inferences/{dedicated_inference_id}/tokens with a
name. The token value is returned only once in the response; store it securely.
Parameters
dedicated_inference_idstring requiredA unique identifier for a Dedicated Inference instance.
namestring requiredExample:
new-inference-tokenName for the new token.
Request Sample
Response Example
More Information
See /v2/dedicated-inferences/{dedicated_inference_id}/tokens in the API reference for additional detail on responses, headers, parameters, and more.