Skip to main content
POST
Create API key
The raw_key in the response is only shown once at creation time. Store it securely—it cannot be retrieved later.

Authorizations

Authorization
string
header
required

JWT token obtained from /auth/login

Body

application/json
name
string
required
Example:

"Production Edge Agents"

permissions
enum<string>[]
required
Minimum array length: 1
Available options:
edge:register,
edge:heartbeat,
edge:metrics,
edge:stream
expires_at
string<date-time>

Response

API key created

api_key
object
raw_key
string

The actual API key. Only shown once!