query

List recent queries for the calling tenant

Read the tenant's per-tenant query log — recent SQL with timing, row counts, error status, and the tool that emitted each entry. The ring buffer holds up to 100 entries with a 7-day TTL. Free to call — never debits quota and never returns 429 (a quota-exhausted user must still be able to inspect their own activity).

get/v1/query/history

Request

  • Base URL: https://data.thinair.co
  • URL: https://data.thinair.co/v1/query/history
  • Auth: API key in header x-api-key

Query parameters

limitinteger

Max entries to return (1–100). Default 20.

Example:20
connectionstring

Filter to entries on this connection. Matches the entry's connectionId (uuid) — pass the connection id, not its display name. Optional.

Example:fleet
since_isostring date-time

Drop entries older than this ISO 8601 timestamp. Useful for ?since=last_check polling. Optional.

Example:2026-05-05T00:00:00Z

Response

Query history (newest-first).

Changes

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