Create a new API key for the current user.
The raw key is returned ONCE in the response. It cannot be retrieved again.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Create a new API key.
A label for this key (e.g., 'My App', 'CI Pipeline').
1 - 255Successful Response
Newly created API key. The raw key is shown only once — save it immediately.
Key identifier (UUID). Use this to revoke the key later.
Label you assigned to this key.
The full API key (sk_... format). Copy this now — it cannot be retrieved again.
First 7 characters of the key (e.g., 'sk_a1b2') for identification.
ISO 8601 timestamp when the key was created.