Skip to main content
POST
Create Inference Key

Authorizations

Authorization
string
header
required

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

Path Parameters

workspace_ref
string
required

Workspace ID or slug

org_id
string
required

Organization ID or slug

Body

application/json
label
string
required

What this key is for, e.g. staging or the calling app; shown in listings

Required string length: 1 - 80
user_id
string<uuid>
required

Principal whose identity this key carries into policy evaluation

Response

Successful Response

data
InferenceKeyCreatedOut · object
required