pydo.genai.create_anthropic_api_key()
Generated on 7 Jul 2026
from pydo version
v0.39.0
Usage
client.genai.create_anthropic_api_key(
body={
"api_key": "\"sk-ant-12345678901234567890123456789012\"",
"name": "\"Production Key\"",
},
)Description
To create an Anthropic API key, send a POST request to /v2/gen-ai/anthropic/keys.
Parameters
api_keystring optionalExample:
"sk-ant-12345678901234567890123456789012"Anthropic API key
namestring optionalExample:
"Production Key"Name of the key
Request Sample
Response Example
More Information
See /v2/gen-ai/anthropic/keys in the API reference for additional detail on responses, headers, parameters, and more.