Skip to main content
POST
Create Instance Provider Credential

Authorizations

Authorization
string
header
required

A control-plane management key using the sk-cp- prefix. Inference keys are not accepted by control-plane endpoints.

Body

application/json

A provider API key and the metadata used to select it.

provider
string
required

Provider name from the catalog, e.g. openai

Required string length: 1 - 63
Pattern: ^[a-z0-9][a-z0-9_-]*$
value
string<password>
required
write-only

The provider API key; stored securely and never returned

Required string length: 1 - 16384
name
string
default:default

Handle for this key within the provider and scope, e.g. prod or backup

Required string length: 1 - 80
Pattern: ^[A-Za-z0-9][A-Za-z0-9_.-]*$
priority
integer
default:100

Lower is tried first; ties break by name

Required range: 0 <= x <= 1000000

Response

Successful Response

data
ProviderCredentialOut · object
required