Skip to main content
PUT
/
v1
/
tenants
/
me
/
provider
Set tenant LLM provider posture
curl --request PUT \
  --url https://api.usezombie.com/v1/tenants/me/provider \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "mode": "platform",
  "credential_ref": "<string>",
  "model": "<string>"
}
'
{
  "mode": "platform",
  "provider": "<string>",
  "model": "<string>",
  "context_cap_tokens": 123,
  "credential_ref": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.usezombie.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth

Body

application/json
mode
enum<string>
required
Available options:
platform,
byok
credential_ref
string | null

User-named vault key. Required when mode=byok.

model
string | null

Optional model override. Falls back to the credential's stored model when absent.

Response

Provider config after upsert

mode
enum<string>
required
Available options:
platform,
byok
provider
string
required
model
string
required
context_cap_tokens
integer<int64>
required
credential_ref
string | null
required