api-keys

Create Api Key

Create a new API key for the current user.

Issue #246: Creates API key with context_id=None (no auto-assignment). Issue #1752: the owner is emailed a security notice once the key is committed (the key's name only, never its value).

post/api/v1/config/api-keys

Request

  • Base URL: https://memory.kagura-ai.com (the document declares no server; this is the origin it was published from)
  • URL: https://memory.kagura-ai.com/api/v1/config/api-keys
  • Auth: none declared

Headers

authorizationstring nullable

Request body

namestring required

Friendly name for the API key

expires_daysinteger nullable

Expiration in days (1-3650). Omit for the server default (365 days); 0 opts in to a key that never expires.

Response

Successful Response

idunknown required
key_prefixunknown required
nameunknown required
user_idunknown required
created_atunknown required
last_used_atunknown
revoked_atunknown
expires_atunknown
statusunknown required
api_keyunknown required

Changes

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