To utilize the Vultr Serverless Inference subscription, users must obtain an API key. This key is essential for secure access to the inference capabilities, enabling efficient integration and management of AI workloads. Having the API key ensures that your interactions with the Vultr Serverless Inference subscription are both authenticated and authorized.
Follow this guide to retrieve the API key for Serverless Inference subscription on your Vultr account using the Vultr Customer Portal, API, or CLI.
Navigate to Products, click Serverless, and then click Inference.
Click your target inference subscription to open its management page.
In the overview page, copy the API Key. API key is necessary to send any request to the inference endpoints.
Send a GET
request to the List Serverless Inference endpoint and note the target inference subscription's ID.
$ curl "https://api.vultr.com/v2/inference" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a GET
request to the Serverless Inference endpoint and note the target inference subscription's API key.
$ curl "https://api.vultr.com/v2/inference/{inference-id}" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
List all the inference subscriptions available and note the target inference subscription's ID.
$ vultr-cli inference list
Get the API key from the target subscription.
$ vultr-cli inference get <inference-id>
No comments yet.