Try Bifrost Enterprise free for 14 days. Explore now
curl --request PUT \
--url http://localhost:8080/api/providers/{provider} \
--header 'Content-Type: application/json' \
--data '
{
"keys": [
{
"id": "<string>",
"name": "<string>",
"value": "<string>",
"models": [
"<string>"
],
"weight": 123,
"azure_key_config": {
"endpoint": "<string>",
"deployments": {},
"api_version": "<string>"
},
"vertex_key_config": {
"project_id": "<string>",
"project_number": "<string>",
"region": "<string>",
"auth_credentials": "<string>",
"deployments": {}
},
"bedrock_key_config": {
"access_key": "<string>",
"secret_key": "<string>",
"session_token": "<string>",
"region": "<string>",
"arn": "<string>",
"deployments": {},
"batch_s3_config": {
"buckets": [
{
"bucket_name": "<string>",
"prefix": "<string>",
"is_default": true
}
]
}
},
"huggingface_key_config": {
"deployments": {}
},
"enabled": true,
"use_for_batch_api": true
}
],
"network_config": {
"base_url": "<string>",
"extra_headers": {},
"default_request_timeout_in_seconds": 123,
"max_retries": 123,
"retry_backoff_initial": 123,
"retry_backoff_max": 123
},
"concurrency_and_buffer_size": {
"concurrency": 123,
"buffer_size": 123
},
"proxy_config": {
"type": "none",
"url": "<string>",
"username": "<string>",
"password": "<string>",
"ca_cert_pem": "<string>"
},
"send_back_raw_request": true,
"send_back_raw_response": true,
"custom_provider_config": {
"is_key_less": true,
"base_provider_type": "openai",
"allowed_requests": {
"list_models": true,
"text_completion": true,
"text_completion_stream": true,
"chat_completion": true,
"chat_completion_stream": true,
"responses": true,
"responses_stream": true,
"count_tokens": true,
"embedding": true,
"speech": true,
"speech_stream": true,
"transcription": true,
"transcription_stream": true,
"batch_create": true,
"batch_list": true,
"batch_retrieve": true,
"batch_cancel": true,
"batch_results": true,
"file_upload": true,
"file_list": true,
"file_retrieve": true,
"file_delete": true,
"file_content": true
},
"request_path_overrides": {}
}
}
'{
"name": "openai",
"keys": [
{
"id": "<string>",
"name": "<string>",
"value": "<string>",
"models": [
"<string>"
],
"weight": 123,
"azure_key_config": {
"endpoint": "<string>",
"deployments": {},
"api_version": "<string>"
},
"vertex_key_config": {
"project_id": "<string>",
"project_number": "<string>",
"region": "<string>",
"auth_credentials": "<string>",
"deployments": {}
},
"bedrock_key_config": {
"access_key": "<string>",
"secret_key": "<string>",
"session_token": "<string>",
"region": "<string>",
"arn": "<string>",
"deployments": {},
"batch_s3_config": {
"buckets": [
{
"bucket_name": "<string>",
"prefix": "<string>",
"is_default": true
}
]
}
},
"huggingface_key_config": {
"deployments": {}
},
"enabled": true,
"use_for_batch_api": true
}
],
"network_config": {
"base_url": "<string>",
"extra_headers": {},
"default_request_timeout_in_seconds": 123,
"max_retries": 123,
"retry_backoff_initial": 123,
"retry_backoff_max": 123
},
"concurrency_and_buffer_size": {
"concurrency": 123,
"buffer_size": 123
},
"proxy_config": {
"type": "none",
"url": "<string>",
"username": "<string>",
"password": "<string>",
"ca_cert_pem": "<string>"
},
"send_back_raw_request": true,
"send_back_raw_response": true,
"custom_provider_config": {
"is_key_less": true,
"base_provider_type": "openai",
"allowed_requests": {
"list_models": true,
"text_completion": true,
"text_completion_stream": true,
"chat_completion": true,
"chat_completion_stream": true,
"responses": true,
"responses_stream": true,
"count_tokens": true,
"embedding": true,
"speech": true,
"speech_stream": true,
"transcription": true,
"transcription_stream": true,
"batch_create": true,
"batch_list": true,
"batch_retrieve": true,
"batch_cancel": true,
"batch_results": true,
"file_upload": true,
"file_list": true,
"file_retrieve": true,
"file_delete": true,
"file_content": true
},
"request_path_overrides": {}
},
"status": "active"
}Updates a provider’s configuration. Expects ALL fields to be provided, including both edited and non-edited fields. Partial updates are not supported.
curl --request PUT \
--url http://localhost:8080/api/providers/{provider} \
--header 'Content-Type: application/json' \
--data '
{
"keys": [
{
"id": "<string>",
"name": "<string>",
"value": "<string>",
"models": [
"<string>"
],
"weight": 123,
"azure_key_config": {
"endpoint": "<string>",
"deployments": {},
"api_version": "<string>"
},
"vertex_key_config": {
"project_id": "<string>",
"project_number": "<string>",
"region": "<string>",
"auth_credentials": "<string>",
"deployments": {}
},
"bedrock_key_config": {
"access_key": "<string>",
"secret_key": "<string>",
"session_token": "<string>",
"region": "<string>",
"arn": "<string>",
"deployments": {},
"batch_s3_config": {
"buckets": [
{
"bucket_name": "<string>",
"prefix": "<string>",
"is_default": true
}
]
}
},
"huggingface_key_config": {
"deployments": {}
},
"enabled": true,
"use_for_batch_api": true
}
],
"network_config": {
"base_url": "<string>",
"extra_headers": {},
"default_request_timeout_in_seconds": 123,
"max_retries": 123,
"retry_backoff_initial": 123,
"retry_backoff_max": 123
},
"concurrency_and_buffer_size": {
"concurrency": 123,
"buffer_size": 123
},
"proxy_config": {
"type": "none",
"url": "<string>",
"username": "<string>",
"password": "<string>",
"ca_cert_pem": "<string>"
},
"send_back_raw_request": true,
"send_back_raw_response": true,
"custom_provider_config": {
"is_key_less": true,
"base_provider_type": "openai",
"allowed_requests": {
"list_models": true,
"text_completion": true,
"text_completion_stream": true,
"chat_completion": true,
"chat_completion_stream": true,
"responses": true,
"responses_stream": true,
"count_tokens": true,
"embedding": true,
"speech": true,
"speech_stream": true,
"transcription": true,
"transcription_stream": true,
"batch_create": true,
"batch_list": true,
"batch_retrieve": true,
"batch_cancel": true,
"batch_results": true,
"file_upload": true,
"file_list": true,
"file_retrieve": true,
"file_delete": true,
"file_content": true
},
"request_path_overrides": {}
}
}
'{
"name": "openai",
"keys": [
{
"id": "<string>",
"name": "<string>",
"value": "<string>",
"models": [
"<string>"
],
"weight": 123,
"azure_key_config": {
"endpoint": "<string>",
"deployments": {},
"api_version": "<string>"
},
"vertex_key_config": {
"project_id": "<string>",
"project_number": "<string>",
"region": "<string>",
"auth_credentials": "<string>",
"deployments": {}
},
"bedrock_key_config": {
"access_key": "<string>",
"secret_key": "<string>",
"session_token": "<string>",
"region": "<string>",
"arn": "<string>",
"deployments": {},
"batch_s3_config": {
"buckets": [
{
"bucket_name": "<string>",
"prefix": "<string>",
"is_default": true
}
]
}
},
"huggingface_key_config": {
"deployments": {}
},
"enabled": true,
"use_for_batch_api": true
}
],
"network_config": {
"base_url": "<string>",
"extra_headers": {},
"default_request_timeout_in_seconds": 123,
"max_retries": 123,
"retry_backoff_initial": 123,
"retry_backoff_max": 123
},
"concurrency_and_buffer_size": {
"concurrency": 123,
"buffer_size": 123
},
"proxy_config": {
"type": "none",
"url": "<string>",
"username": "<string>",
"password": "<string>",
"ca_cert_pem": "<string>"
},
"send_back_raw_request": true,
"send_back_raw_response": true,
"custom_provider_config": {
"is_key_less": true,
"base_provider_type": "openai",
"allowed_requests": {
"list_models": true,
"text_completion": true,
"text_completion_stream": true,
"chat_completion": true,
"chat_completion_stream": true,
"responses": true,
"responses_stream": true,
"count_tokens": true,
"embedding": true,
"speech": true,
"speech_stream": true,
"transcription": true,
"transcription_stream": true,
"batch_create": true,
"batch_list": true,
"batch_retrieve": true,
"batch_cancel": true,
"batch_results": true,
"file_upload": true,
"file_list": true,
"file_retrieve": true,
"file_delete": true,
"file_content": true
},
"request_path_overrides": {}
},
"status": "active"
}Provider name
Update provider request
Show child attributes
Network configuration for provider connections
Show child attributes
Concurrency settings
Show child attributes
Proxy configuration
Show child attributes
Custom provider configuration
Show child attributes
Provider updated successfully
Provider configuration response
AI model provider identifier
openai, azure, anthropic, bedrock, cohere, vertex, mistral, ollama, groq, sgl, parasail, perplexity, cerebras, gemini, openrouter, elevenlabs, huggingface, nebius Show child attributes
Network configuration for provider connections
Show child attributes
Concurrency settings
Show child attributes
Proxy configuration
Show child attributes
Custom provider configuration
Show child attributes
Status of the provider
active, error, deleted Was this page helpful?