A valid request URL is required to generate request examples{
"id": "<string>",
"name": "<string>",
"value": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"models": [
"<string>"
],
"blacklisted_models": [
"<string>"
],
"weight": 123,
"aliases": {},
"azure_key_config": {
"endpoint": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"api_version": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"client_id": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"client_secret": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"tenant_id": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"scopes": [
"<string>"
]
},
"vertex_key_config": {
"project_id": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"project_number": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"region": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"auth_credentials": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
}
},
"bedrock_key_config": {
"access_key": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"secret_key": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"session_token": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"region": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"arn": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"batch_s3_config": {
"buckets": [
{
"bucket_name": "<string>",
"prefix": "<string>",
"is_default": true
}
]
}
},
"vllm_key_config": {
"url": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"model_name": "<string>"
},
"ollama_key_config": {
"url": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
}
},
"sgl_key_config": {
"url": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
}
},
"replicate_key_config": {
"use_deployments_endpoint": true
},
"enabled": true,
"use_for_batch_api": true,
"config_hash": "<string>",
"status": "<string>",
"description": "<string>"
}Update a key for a provider
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).
A valid request URL is required to generate request examples{
"id": "<string>",
"name": "<string>",
"value": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"models": [
"<string>"
],
"blacklisted_models": [
"<string>"
],
"weight": 123,
"aliases": {},
"azure_key_config": {
"endpoint": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"api_version": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"client_id": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"client_secret": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"tenant_id": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"scopes": [
"<string>"
]
},
"vertex_key_config": {
"project_id": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"project_number": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"region": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"auth_credentials": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
}
},
"bedrock_key_config": {
"access_key": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"secret_key": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"session_token": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"region": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"arn": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"batch_s3_config": {
"buckets": [
{
"bucket_name": "<string>",
"prefix": "<string>",
"is_default": true
}
]
}
},
"vllm_key_config": {
"url": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
},
"model_name": "<string>"
},
"ollama_key_config": {
"url": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
}
},
"sgl_key_config": {
"url": {
"value": "<string>",
"env_var": "<string>",
"from_env": true
}
},
"replicate_key_config": {
"use_deployments_endpoint": true
},
"enabled": true,
"use_for_batch_api": true,
"config_hash": "<string>",
"status": "<string>",
"description": "<string>"
}Authorizations
Management API authentication for /api/* endpoints. Use the Authorization header with Bearer <API key>.
Virtual keys, dashboard/user/session tokens, and x-api-key headers are not supported on management APIs.
Body
API key configuration
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)
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.)
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
Response
Key updated successfully
API key configuration
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)
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.)
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?

