API Reference · AI Providers
Connect a provider
Connect a provider
POST/v1/tenants/{name}/providers
Authorization
x-api-keystringrequired
Your per-workspace API key, e.g. llc_AbC123…. Also accepted as Authorization: Bearer <key>. Mint keys on your workspace's API keys page — each key belongs to one workspace.
Path parameters
namestringrequired
Workspace (tenant) name.
Body
providerstringrequired
A catalog id from the list endpoint (e.g. `anthropic`,
`openai`, `zai-coding-plan`). `claude-subscription` connects
a Claude Pro/Max plan: its `apiKey` is the token printed by
`claude setup-token`, and agents using it run on the Claude
Agent engine automatically.
apiKeystringrequired
Provider API key (write-only — never read back).
Response
200 — Connected.
curl -X POST https://api.live-llm.com/v1/tenants/acme/providers \
-H "x-api-key: $LIVELLM_KEY" \
-H "Content-Type: application/json" \
-d '{
"provider": "anthropic",
"apiKey": "sk-ant-dummy-key"
}'Try itPOSThttps://api.live-llm.com/v1/tenants/{name}/providers
Fill required path param: name.
Example response200
Connected.