A valid request URL is required to generate request examples[
{
"id": "<string>",
"name": "<string>",
"value": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"models": [
"<string>"
],
"blacklisted_models": [
"<string>"
],
"weight": 123,
"aliases": {},
"azure_key_config": {
"endpoint": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"api_version": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"client_id": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"client_secret": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"tenant_id": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"scopes": [
"<string>"
]
},
"vertex_key_config": {
"project_id": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"project_number": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"region": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"auth_credentials": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
}
},
"bedrock_key_config": {
"access_key": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"secret_key": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"session_token": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"region": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"arn": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"batch_s3_config": {
"buckets": [
{
"bucket_name": "<string>",
"prefix": "<string>",
"is_default": true
}
]
}
},
"vllm_key_config": {
"url": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"model_name": "<string>"
},
"ollama_key_config": {
"url": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
}
},
"sgl_key_config": {
"url": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
}
},
"replicate_key_config": {
"use_deployments_endpoint": true
},
"enabled": true,
"use_for_batch_api": true,
"config_hash": "<string>",
"status": "<string>",
"description": "<string>"
}
]{
"event_id": "<string>",
"type": "<string>",
"is_bifrost_error": true,
"status_code": 123,
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"event_id": "<string>"
},
"extra_fields": {
"provider": "anthropic",
"model_requested": "<string>",
"request_type": "<string>",
"error_type": "<string>"
}
}List all keys
Returns a list of all configured API keys across all providers.
A valid request URL is required to generate request examples[
{
"id": "<string>",
"name": "<string>",
"value": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"models": [
"<string>"
],
"blacklisted_models": [
"<string>"
],
"weight": 123,
"aliases": {},
"azure_key_config": {
"endpoint": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"api_version": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"client_id": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"client_secret": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"tenant_id": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"scopes": [
"<string>"
]
},
"vertex_key_config": {
"project_id": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"project_number": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"region": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"auth_credentials": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
}
},
"bedrock_key_config": {
"access_key": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"secret_key": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"session_token": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"region": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"arn": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"batch_s3_config": {
"buckets": [
{
"bucket_name": "<string>",
"prefix": "<string>",
"is_default": true
}
]
}
},
"vllm_key_config": {
"url": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
},
"model_name": "<string>"
},
"ollama_key_config": {
"url": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
}
},
"sgl_key_config": {
"url": {
"value": "<string>",
"ref": "<string>",
"type": "plain_text"
}
},
"replicate_key_config": {
"use_deployments_endpoint": true
},
"enabled": true,
"use_for_batch_api": true,
"config_hash": "<string>",
"status": "<string>",
"description": "<string>"
}
]{
"event_id": "<string>",
"type": "<string>",
"is_bifrost_error": true,
"status_code": 123,
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"event_id": "<string>"
},
"extra_fields": {
"provider": "anthropic",
"model_requested": "<string>",
"request_type": "<string>",
"error_type": "<string>"
}
}Authorizations
Management API authentication for /api/* endpoints. Use the Authorization header
with Bearer <token>, where <token> is one of:
- a Bifrost management API key,
- a dashboard session token issued by
POST /api/session/login, - base64 of
<admin-username>:<admin-password>(legacy equivalent ofBasicAuth).
Virtual keys (sk-bf-*) and the x-api-key header are not accepted on management APIs -
the sole exception is GET /api/governance/virtual-keys/quota, which is virtual-key-only.
Response
Successful response
Unique identifier for the key
Name of the key
API key value (redacted in responses)
Show child attributes
Show child attributes
List of models this key can access (whitelist). ["*"] allows every model. An entry starting with regex: is an RE2 pattern matched case-insensitively against the whole model name; an empty pattern, regex:*, or a pattern that does not compile is rejected with 400. blacklisted_models wins over this list.
List of models this key cannot access (blacklist), which wins over models. ["*"] blocks every model. An entry starting with regex: is an RE2 pattern matched case-insensitively against the whole model name; an empty pattern, regex:*, or a pattern that does not compile is rejected with 400.
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.)
Show child attributes
Show child attributes
Azure-specific key configuration
Show child attributes
Show child attributes
Vertex-specific key configuration
Show child attributes
Show child attributes
AWS Bedrock-specific key configuration
Show child attributes
Show child attributes
VLLM-specific key configuration
Show child attributes
Show child attributes
Ollama-specific key configuration
Show child attributes
Show child attributes
SGLang-specific key configuration
Show child attributes
Show child attributes
Replicate-specific key configuration
Show child attributes
Show child attributes
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
Was this page helpful?

