dots.v2.genAi.models.api_keys.post()
Generated on 5 Nov 2026
from DoTs version
v1.23.0
deprecated
Usage
client.v2.genAi.models.api_keys.post(body: ApiCreateModelAPIKeyInputPublic, requestConfiguration?: RequestConfiguration<object>): Promise<undefined | ArrayBuffer>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.