v29

latestOpenAPI 3.1.0raw.githubusercontent.com2026-03-233765161.7 KB
v1 auth keys

Create a new API key

Create a new API key for the authenticated user.

This endpoint:
- Validates the current API key authentication
- Creates a new API key for the same user/organization
- Returns the new API key (only shown once)
- Supports optional labeling for key management

**Authentication**: Requires valid API key in Authorization header
post/v1/auth/keys

Request body

labelstring nullable

Optional label for the API key

Response

Successful Response

idstring required

Unique identifier for the API key

api_keystring required

The actual API key (only shown once)

org_idstring required

Organization ID

user_idstring required

User ID

labelstring nullable

Label for the API key

created_atstring required

Creation timestamp

successboolean

Indicates successful creation