pydo.dedicated_inferences.create_tokens()
Generated on 7 May 2026
from pydo version
v0.34.0
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
| Name | Type | Required | Description | Default Value |
|---|---|---|---|---|
dedicated_inference_id |
string | True | A unique identifier for a Dedicated Inference instance. | |
body |
JSON or IO[bytes] | True |
More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.