Update LLM provider
Update an existing LLM provider’s models and credentials. This is a replace operation - pass the complete desired state. For credentials: include existing ones (name/uuid) to keep them, add new ones (name/credential_config) to create them, omit any to remove them. For models: pass the complete list of desired models. Any fields not included will be removed.
The provider in the body must match the one in the path.
If the update removes models or credentials that evaluator rules use, it is refused with a 409 unless acknowledge_usage=true is sent; those rules then fail when they next run. Call GET /llm-gateway/providers/{provider}/usage first to warn the user.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Name of the LLM provider (e.g., OpenAI, Anthropic)
Query Parameters
Remove models or credentials even though evaluator rules use them. Those rules fail when they next run.
Body
Request body for updating an LLM provider. This is a replace operation where you specify the complete desired state. Omitted fields will be removed.
Name of the LLM provider
Custom API base URL. Required for some providers (e.g., Databricks), optional for others (e.g., Bedrock VPC endpoints). Must use HTTPS.
512Complete list of models to support. This replaces all existing models.
Complete list of credentials. Include existing ones (name/uuid) to keep them, add new ones (name/credential_config) to create them. Omitted credentials will be removed.
Response
LLM provider updated successfully