Updates an existing key. Send the full key object. Redacted values sent back unchanged are automatically preserved (the server merges them with the stored raw values).
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 updated 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