Creates a new API key for the specified provider. The key id is auto-generated
if omitted. enabled defaults to true if omitted. value is required and must
not be empty. Keys cannot be created on keyless providers.
Provider name
API key configuration
Unique identifier for the key
Name of the key
API key value (redacted in responses)
List of models this key can access (whitelist)
List of models this key cannot access (blacklist)
Weight for load balancing
Azure-specific key configuration
Vertex-specific key configuration
AWS Bedrock-specific key configuration
Replicate-specific key configuration
VLLM-specific key configuration
Ollama-specific key configuration
SGLang-specific key configuration
Whether the key is active (defaults to true)
Whether this key can be used for batch API operations
Hash of config.json version, used for change detection
Status of key (e.g., success, list_models_failed)
Error or status description for the key
Key created successfully
API key configuration
Unique identifier for the key
Name of the key
API key value (redacted in responses)
List of models this key can access (whitelist)
List of models this key cannot access (blacklist)
Weight for load balancing
Azure-specific key configuration
Vertex-specific key configuration
AWS Bedrock-specific key configuration
Replicate-specific key configuration
VLLM-specific key configuration
Ollama-specific key configuration
SGLang-specific key configuration
Whether the key is active (defaults to true)
Whether this key can be used for batch API operations
Hash of config.json version, used for change detection
Status of key (e.g., success, list_models_failed)
Error or status description for the key