{ "provider": "openai", "enabled": true, "credentials": {} }
{ "provider": "openai", "enabled": true, "credentials": { "api_key": "sk-your-api-key", "organization": "org-your-org-id" // optional } }
{ "api_key": "sk-...", "organization": "org-..." // optional }
{ "api_key": "sk-ant-..." }
{ "api_key": "..." }
{ "api_key": "...", "endpoint": "https://your-resource.openai.azure.com", "deployment_id": "..." }
{ "aws_access_key_id": "...", "aws_secret_access_key": "...", "region": "us-west-2" }
{ "provider": "openai", "enabled": true, "credentials": { "api_key": "sk-***", "organization": "org-***" } }
{ "error": { "code": "CONFLICT", "message": "Configuration already exists for provider: openai" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
The response is of type object.
object