query

Lists the query log, newest first. Callers without access:view only see their own queries.

get/api/v1/query/history

Request

  • The document declares no server URL.
  • Auth
    • API key in header X-API-Key
    • or API key in header Authorization

Query parameters

sourcestring

Source name

decisionstring

allowed or denied

statusstring

running, completed, failed or denied

mrnstring

Only queries that referenced this MRN

principal_typestring

Principal type

principal_idstring

Principal ID

mineboolean

Only the caller's own queries

clientstring

Comma-separated clients to include: api, mcp or cli

fromstring

Only queries started at or after this time (RFC 3339)

tostring

Only queries started before this time (RFC 3339)

qstring

Matches the caller, source, statement or a referenced MRN

limitinteger

Page size

offsetinteger

Page offset

Response

OK

limitinteger
offsetinteger
totalinteger

Changes