Management

List organization request logs

Returns metadata-only, org-wide usage logs (token counts, cost, latency, status — never prompt or response content), newest first. Requires a dedicated management key; standard API keys receive 403.

get/v1/logs

Request

  • Base URL: https://api.consus.io
  • URL: https://api.consus.io/v1/logs
  • Auth: API key in header x-api-key

Query parameters

startstring date-time

Window start (UTC, ISO 8601). Defaults to 30 days before end.

endstring date-time

Window end (UTC, ISO 8601). Defaults to now. Max window is 90 days.

status'all' | 'success' | 'errors'

Filter by outcome.

api_key_idstring

Scope results to one API key ID.

limitinteger

Rows per page.

cursorstring

Opaque pagination token from a previous response's next_cursor. Treat as opaque.

Response

A page of request log rows.

objectstring
has_moreboolean
next_cursorstring

Opaque. Pass back as cursor to fetch the next page. Only meaningful when has_more is true.

Example response

{
  "object": "list",
  "data": [
    {
      "compliance": "il5+itar"
    }
  ]
}

Changes

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