Skip to main content
PUT
Set a shared model-provider credential

Authorizations

Authorization
string
header
required

Send a dashboard session token, an account API key (agt_t), or a command-line credential (afc_) as a Bearer token. Each endpoint lists accepted credential types.

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

Reference identifier to include when contacting support.

source_workspace_id
string
required

Workspace holding the key.