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

Changes

Changed in 2 of the 29 revisions of this API.10

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the required property to the response with the status

      response-required-property-added

    • ○

      added the required property to the response with the status

      response-required-property-added

    • ○

      added the required property to the response with the status

      response-required-property-added

    This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      endpoint added

      endpoint-added

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog