Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

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 of BasicAuth).

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

id
string

Unique identifier for the key

name
string

Name of the key

value
object

API key value (redacted in responses)

models
string[]

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.

blacklisted_models
string[]

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
number

Weight for load balancing

aliases
object

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_key_config
object

Azure-specific key configuration

vertex_key_config
object

Vertex-specific key configuration

bedrock_key_config
object

AWS Bedrock-specific key configuration

vllm_key_config
object

VLLM-specific key configuration

ollama_key_config
object

Ollama-specific key configuration

sgl_key_config
object

SGLang-specific key configuration

replicate_key_config
object

Replicate-specific key configuration

enabled
boolean

Whether the key is active (defaults to true)

use_for_batch_api
boolean

Whether this key can be used for batch API operations

config_hash
string

Hash of config.json version, used for change detection

status
string

Status of key (e.g., success, list_models_failed)

description
string

Error or status description for the key