API Keys

List Api Keys

List all API keys for your current account.

Retrieve metadata for all API keys associated with your account, including active and expired keys. Use this to audit key usage and manage key lifecycle.

Authentication Required: Valid JWT token or API key

Response: Returns an array of API key metadata objects. Note: raw key values are never returned after creation — only the prefix is shown for identification.

Status Codes:

  • 200: List of API keys returned
get/v1/apikeys/

Request

  • Base URL: https://api.lumethic.com
  • URL: https://api.lumethic.com/v1/apikeys/
  • Auth: OAuth2PasswordBearer (a scheme the document does not define)

Headers

X-API-Keystring nullable

Response

List of API keys

idstring uuid required

Unique identifier for the API key

prefixstring required

Key prefix for identification (e.g., 'ask_a1b2c3d4')

account_idstring uuid required

Account this key is associated with

user_idstring uuid required

User who created the key

descriptionstring nullable required

User-provided description of the key's purpose

expires_atstring date-time required

ISO 8601 timestamp when the key expires

is_activeboolean required

Whether the key is currently active and usable

last_used_atstring date-time nullable required

ISO 8601 timestamp of last successful authentication with this key

created_atstring date-time required

ISO 8601 timestamp when the key was created

updated_atstring date-time required

ISO 8601 timestamp when the key was last modified

Changes

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