AI Providers

Create saved AI provider

Stores an encrypted provider/model/API key combination. The key is never returned.

post/ai-providers

Request

Request body

labelstring required
provider'openai' | 'anthropic' | 'gemini' | 'vercel-ai-gateway' | 'openrouter' | 'ollama' | 'openai-compatible' required
modelstring required
baseURLstring
apiKeystring required

Response

OK

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.