v106

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-02160524464.6 KB
Insights

List Query History

Returns a paginated history of recently executed queries with timing and row counts.

get/api/v1/insights/history

Query parameters

page[limit]integer

Maximum number of items to return per page.

page[offset]integer

Number of items to skip before returning results.

Response

Paginated list of history entries

Example response

{
  "data": [
    {
      "id": "h1",
      "sql": "SELECT workflow_name, COUNT(*) FROM runs GROUP BY 1",
      "timestamp": "2025-09-15T14:00:00Z",
      "elapsed": 0.342,
      "row_count": 6
    }
  ]
}