cURL
curl --request GET \ --url https://api.example.com/v1/llm-providers \ --header 'Authorization: Bearer <token>'
[ { "provider": "openai", "enabled": true, "credentials": {} } ]
{ "data": [ { "provider": "openai", "enabled": true, "credentials": { "api_key": "sk-***" } }, { "provider": "anthropic", "enabled": false, "credentials": {} } ] }
{ "data": [] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
The provider to use for LLM access
openai
anthropic
google
google-vertex
azure
amazon-bedrock
xai
Whether the provider is enabled
The credentials for the provider