Skip to main content
POST
Create a scoped key for an agent profile

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Path Parameters

id
string
required

Agent profile UUID.

Body

application/json
name
string

Optional key label.

Response

Created key, including the plaintext secret.

id
string
key
string

Plaintext key, shown only once.

prefix
string
name
string