logs

List request logs

Per-request rows for your organization, newest first, cursor-paginated. Authenticate with an API key, or a console JWT plus X-Org-ID.

get/logs

Request

  • Base URL: https://api.aiand.com
  • URL: https://api.aiand.com/logs
  • Auth: HTTP bearer

Query parameters

range'15m' | '1h' | '6h' | '24h' | '7days' | '30days'

Look-back window. Default 24h.

errorsboolean

Only non-2xx requests.

endpointstring

Only requests to this /v1 path, e.g. /v1/responses.

content_loggedboolean

Only requests where capture was attempted (see content_logged). The page is then ordered by request_at.

limitinteger

Page size. Default 50.

afterstring

Cursor: next_after from the previous page.

after_idstring

Cursor: next_after_id from the previous page.

Response

OK

has_moreboolean required
next_afterstring nullable required
next_after_idstring nullable required

Example response

{
  "data": [
    {
      "api_key": "sk-...abcd",
      "cost": "0.00420000",
      "currency": "usd",
      "created_at": "2026-05-18 12:34:56.123456+00",
      "request_at": "2026-05-18 12:34:56.123456+00",
      "endpoint": "/v1/chat/completions"
    }
  ]
}

Changes

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