Skip to main content
PUT
Set a platform LLM key

Authorizations

Authorization
string
header
required

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

Body

application/json

PUT /v1/admin/platform-keys metadata; key bytes already live in the vault.

model
string
required

Priced model selected as platform default.

provider
string
required

Provider and vault-row name.

source_workspace_id
string
required

Workspace holding that vault row.

base_url
string | null

Custom endpoint for the compatible-provider mode.

Response

OK

Successful platform-default activation.

active
boolean
required

Always true after activation.

model
string
required

Selected priced model.

provider
string
required

Provider and vault-row name.

request_id
string
required

Server-generated support correlation id.

source_workspace_id
string
required

Workspace holding the key.