Connections
AI & LLM providers and tool integrations
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /connections | List connections |
| POST | /connections | Create connection |
| DELETE | /connections/{id} | Delete connection |
| POST | /integrations/notion/connect | Start Notion OAuth → authorize_url |
| GET | /integrations/notion/callback | OAuth callback (browser redirect) |
Provider types
anthropic · openai · gemini · mistral · openrouter · perplexity · kimi · moonshot · openai_compat · notion · mcp
Create LLM connection
POST http://localhost:8000/connections
Content-Type: application/json
X-API-Key: YOUR_KEY
{
"type": "anthropic",
"label": "My Claude",
"secret": "sk-ant-…",
"config": { "model": "claude-sonnet-4-6" }
}Secrets are encrypted at rest. For openai_compat, set config.base_url and config.model.
