← All Endpoints
Request Headers
authorizationstring*required
Authorization token (required).
Request Body
namestring*required
Name for the new API key.
expiresstringoptional
Expiration date for the new API key in RFC 3339 format.
descriptionstringoptional
Description for the new API key.
Response Body
api_keystring*required
An ObjectiveAI API Key. The format is always `apk` followed by 32 hexadecimal characters.
createdstring*required
The RFC 3339 timestamp when the API key was created.
expiresstringoptional
The RFC 3339 timestamp when the API key expires, or null if it does not expire.
disabledstringoptional
The RFC 3339 timestamp when the API key was disabled, or null if it is not disabled.
namestring*required
The name of the API key.
descriptionstringoptional
The description of the API key, or null if no description was provided.