pydo.genai.create_model_api_key()
Generated on 3 Aug 2026
from pydo version
v0.40.0
deprecated
Usage
client.genai.create_model_api_key(
body={
"name": "Production Key",
},
)Description
Note: This endpoint is deprecated and has been retired. All requests return a 410 gone response.
Creating model API keys through this endpoint is no longer supported. To create a model access key, visit the manage page in the control panel.
Previously, you could create a model API key by sending a POST request to /v2/gen-ai/models/api_keys.
Parameters
namestring optionalExample:
Production KeyA human friendly name to identify the key
Request Sample
More Information
See /v2/gen-ai/models/api_keys in the API reference for additional detail on responses, headers, parameters, and more.