For AI agents: The documentation index is at https://docs.digitalocean.com/llms.txt. Markdown versions of pages use the same URL with index.html.md in place of the HTML page (for example, append index.html.md to the directory path instead of opening the HTML document).
Usage
client.v2.dedicatedInferences.byDedicated_inference_id(dedicated_inference_id).get(requestConfiguration?: RequestConfiguration<object>): Promise<undefined | WithDedicated_inference_GetResponse>
Description
Retrieve an existing Dedicated Inference by ID. Send a GET request to
/v2/dedicated-inferences/{dedicated_inference_id}. The status in the response
is one of active, new, provisioning, updating, deleting, or error.
Parameters
dedicated_inference_id string required
Example: 6b5c619c-359c-44ca-87e2-47e98170c01d
A unique identifier for a Dedicated Inference instance.
Request Sample
Show Request Sample
import { FetchRequestAdapter } from "@microsoft/kiota-http-fetchlibrary";
import {
createDigitalOceanClient,
DigitalOceanApiKeyAuthenticationProvider,
} from "@digitalocean/dots";
const authProvider = new DigitalOceanApiKeyAuthenticationProvider(process.env.DIGITALOCEAN_TOKEN!);
const adapter = new FetchRequestAdapter(authProvider);
const client = createDigitalOceanClient(adapter);
const response = await client.v2.dedicatedInferences
.byDedicated_inference_id("6b5c619c-359c-44ca-87e2-47e98170c01d").get();
Response Example
Show Response Example
{
"dedicated_inference": {
"id": "6b5c619c-359c-44ca-87e2-47e98170c01d",
"status": "active",
"region": "atl1",
"vpc_uuid": "997615ce-132d-4bae-9270-9ee21b395e5d",
"endpoints": {
"public_endpoint_fqdn": "https://b4bfug4jc41kts2ro54if91eo-public-dedicated-inference.do-infra.ai",
"private_endpoint_fqdn": "https://b4bfug4jc41kts2ro54if91eo-private-dedicated-inference.do-infra.ai"
},
"created_at": "2024-01-09T20:44:32Z",
"updated_at": "2024-01-09T20:44:32Z"
}
}
See /v2/dedicated-inferences/{dedicated_inference_id} in the API reference for additional detail on responses, headers, parameters, and more.