Admin API Keys

Create a new API key

post/admin/api-keys

Request body

namestring required

Name for the API key

descriptionstring

Description of the API key purpose

expiresAtstring

Expiration date in ISO format

Example request

{
  "name": "GPU Server Production"
}

Response

idstring required

Unique identifier

namestring required

Name of the API key

descriptionstring

Description

keyPrefixstring required

Key prefix for identification (first 8 chars)

isActiveboolean required

Whether the key is active

lastUsedAtstring

Last time the key was used

expiresAtstring

Expiration date

createdAtstring required

Creation timestamp

updatedAtstring required

Update timestamp

rawKeystring required

The raw API key - ONLY SHOWN ONCE

Changes