POST
Create API key

Authorizations

Authorization
string
header
required

Your account JWT (app-plane, for key management).

Body

application/json
name
string
required
Example:

"production-server"

scopes
string[]
projectId
string

Response

The created key, including the one-time secret.

id
string
name
string
key
string

The full secret — shown exactly once.

Example:

"sk-rav-xxxxxxxxxxxxxxxxxxxx"

prefix
string
Example:

"sk-rav"

last4
string
Example:

"3f9a"

projectId
string | null
scopes
string[]
createdAt
string