v1

latestOpenAPI 3.1.0MIT2026-07-173438118.7 KB
API Keys

List API keys with cursor-based pagination and optional filtering

Errors

Returns error if API keys database query fails or connection issues occur

get/api/api-keys

Query parameters

offsetstring uuid nullable

Starting point UUID for paginated API key results

limitinteger nullable

Number of API keys to return per page (default: 50, max: 100)

isActiveboolean nullable

Only show active or inactive API keys

Response

API keys list retrieved

createdAtstring date-time nullable

When this API key was originally created

expiresAtstring date-time nullable

Expiration timestamp after which key becomes invalid

idstring uuid required

Unique identifier for this API key in responses

isActiveboolean required

Current activation status of this API key

keyPrefixstring required

Key prefix for visual identification in API key lists

lastUsedAtstring date-time nullable

Timestamp when the key was last used

namestring required

Descriptive name for this API key

permissionsstring[] required

Permissions granted to this API key for resource access

updatedAtstring date-time nullable

API key last update timestamp

userIdstring uuid required

Owner user identifier

Example response

[
  {
    "createdAt": "2023-01-01T00:00:00Z",
    "expiresAt": "2024-01-01T00:00:00Z",
    "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
    "isActive": true,
    "keyPrefix": "pk_live_",
    "lastUsedAt": "2023-01-01T12:00:00Z",
    "name": "Production API Key",
    "permissions": [
      "read:posts",
      "write:posts"
    ],
    "updatedAt": "2023-01-01T12:00:00Z",
    "userId": "b2c3d4e5-6f78-9012-bcde-f12345678901"
  }
]
All 34 operations