auth

Generate API token

Create a new API token. Passing project (or scope.scope=project) mints a key pinned to that project. scope.scope=account covers every project the user belongs to. description and expires_in_days (0, 30, 90, 180 or 365) match the Console dialog. 0 does not expire.

post/api/auth/api-keys/

Request

  • Base URL
    https://api.overmindlab.ai
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key
    • or API key in cookie sessionid
    • or API key in header X-Api-Key
    • or HTTP bearer

Request body

namestring
descriptionstring
expires_in_days0 | 30 | 90 | 180 | 365
  • 0 - 0
  • 30 - 30
  • 90 - 90
  • 180 - 180
  • 365 - 365
projectstring uuid

Response

Plaintext key is returned only in this response.

idstring uuid required
keystring required

Plaintext secret. Shown only once.

namestring required
descriptionstring required
prefixstring required
projectstring uuid nullable required
expires_atstring date-time nullable required
created_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.