dots.v2.dedicatedInferences.byDedicated_inference_id().tokens.get()
Generated on 13 Nov 2026
from DoTs version
v1.24.0
Usage
client.v2.dedicatedInferences.byDedicated_inference_id(dedicated_inference_id).tokens.get(requestConfiguration?: RequestConfiguration<TokensRequestBuilderGetQueryParameters>): Promise<undefined | TokensGetResponse>Description
List all access tokens for a Dedicated Inference instance. Token values are
not returned; only id, name, created_at, and is_managed. Send a GET request to
/v2/dedicated-inferences/{dedicated_inference_id}/tokens.
Parameters
Path Parameters
dedicated_inference_idstring requiredExample:
6b5c619c-359c-44ca-87e2-47e98170c01dA unique identifier for a Dedicated Inference instance.
Query Parameters
perPageinteger optionalExample:
2Number of items returned per page
pageinteger optionalExample:
1Which 'page' of paginated results to return.
Request Sample
Pagination
This method returns paginated results. The response includes a links.pages object with URLs for navigating between pages. To retrieve the next page, parse the next URL and pass the page query parameter:
let response = await client.v2.dedicatedInferences
.byDedicated_inference_id("6b5c619c-359c-44ca-87e2-47e98170c01d").tokens.get();
let pages = response?.links?.pages;
while (pages && "next" in pages && typeof pages.next === "string") {
const page = Number(new URL(pages.next).searchParams.get("page"));
response = await client.v2.dedicatedInferences
.byDedicated_inference_id("6b5c619c-359c-44ca-87e2-47e98170c01d").tokens.get({
queryParameters: {
page,
},
});
pages = response?.links?.pages;
}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.