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).
Bearer token authentication. Use your provider API key or Bifrost authentication token.
Virtual keys (prefixed with sk-bf-) can also be passed here.
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
Model alias mappings — maps a user-facing model name to a provider-specific identifier (deployment name, inference profile ID, fine-tuned model ID, etc.)
Azure-specific key configuration
Vertex-specific key configuration
AWS Bedrock-specific key configuration
VLLM-specific key configuration
Ollama-specific key configuration
SGLang-specific key configuration
Replicate-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
Model alias mappings — maps a user-facing model name to a provider-specific identifier (deployment name, inference profile ID, fine-tuned model ID, etc.)
Azure-specific key configuration
Vertex-specific key configuration
AWS Bedrock-specific key configuration
VLLM-specific key configuration
Ollama-specific key configuration
SGLang-specific key configuration
Replicate-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