api-keys

Create Api Key

Create a new API key.

The full plaintext key is returned once in the key field of the response. It is not stored and cannot be retrieved again.

Requires JWT authentication. API keys may not create other API keys.

post/api/api-keys

Request

  • Base URL: https://www.gateco.ai (the document declares no server; this is the origin it was published from)
  • URL: https://www.gateco.ai/api/api-keys
  • Auth: OAuth 2 (password, token URL /api/auth/login)

Request body

namestring required

Human-readable label

expires_atstring date-time nullable

Optional expiry timestamp (timezone-aware). Omit for no expiry.

Response

Successful Response

idstring required
namestring required
prefixstring required
last_used_atstring nullable required
expires_atstring nullable required
created_atstring required
keystring required

Full API key — display once and discard

Changes

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