Home / Servers / DigitalOcean API / genai_get_openai_api_key
Get OpenAI API Key
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Get OpenAI API Key To retrieve details of an OpenAI API key, send a GET request to /v2/gen-ai/openai/keys/{api_key_uuid}. [GET /v2/gen-ai/openai/keys/{api_key_uuid}]
Name on the gateway: digitalocean_api__genai_get_openai_api_key · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
api_key_uuid required | string | API key ID |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "digitalocean_api__genai_get_openai_api_key",
"arguments": {
"api_key_uuid": "…"
}
}Or connect the DigitalOcean API server directly, which lists 874 tools including this one:
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the get openai api key tool with api_key_uuid set to ….