API Keys

List API keys

Lists the account's site keys, oldest first, with cursor pagination. Needs a full-access key. Tokens are included. The response is sent with Cache-Control: no-store.

get/api_keys

Request

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

Query parameters

status'active' | 'revoked' | 'all'

Which keys to list. Anything else returns 422 invalid_params.

qstring

Only keys whose name contains this text, ignoring case.

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 keys.

next_cursorstring nullable

Pass as after to get the next page. null on the last page.

has_moreboolean

Changes

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