API Keys

Get a key's audit trail

Lists what happened to the key, newest first: creation, edits, rotations, revocation and token reveals, each with who did it and the values that changed. A revoked key's history stays readable.

get/api_keys/{id}/history

Request

  • Base URL: https://alttext.ai/api/v1
  • URL: https://alttext.ai/api/v1/api_keys/{id}/history
  • Auth: API key in header X-API-Key

Path parameters

idinteger required

The ID of the key.

Query parameters

afterstring

The next_cursor from the previous page. Cursors are opaque; one this API did not issue returns 422 invalid_params.

limitinteger

How many results to return, from 1 to 100. Larger values are treated as 100.

Response

A page of events.

next_cursorstring nullable
has_moreboolean

Changes

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