Skip to main content
Mint a new federated API key under an existing group. The key inherits the group’s effective model set and limits; the request body does not configure either on the key. The plaintext key is returned exactly once in the response and is unrecoverable afterward.

Errors

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <api_key>. The legacy Authorization: Api-Key <api_key> scheme is also accepted.

Path Parameters

group_id
string
required

Body

application/json
name
string | null

Optional display name for the new key.

Example:

"prod-key-1"

Response

200 - application/json
api_key
string
required

Plaintext key string, returned exactly once.

prefix
string
required

Key prefix (the part before the dot).

name
string | null

Display name of the key.