Insights
List Saved Queries
Returns a paginated list of saved SQL queries for the insights editor.
get/api/v1/insights/queries
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 saved queries
Example response
{
"data": [
{
"id": "1",
"name": "Run duration by workflow",
"sql": "SELECT workflow_name, AVG(duration_seconds) FROM runs GROUP BY 1",
"created_at": "2026-03-01T10:00:00Z",
"updated_at": "2026-03-05T14:30:00Z"
}
]
}Changes
Changed in 1 of the 134 revisions of this API.1
- ○
added the optional property
meta/totalto the response with the200statusresponse-optional-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○