APILogs
List log queries
List the project's stored log queries, newest first: every logs.ask question that ran a query and every spec run with logs.executeQuery. Runs of an earlier query by its queryId are not listed; each names the query it ran as parentId and is read with logs.queries.get. Items carry no spec; read one with logs.queries.get.
GET https://api.sazabi.com/v1/logs/queries
Query Parameters
projectId?string
Project whose queries to list. Auto-filled from CLI and SDK context when omitted.
Format
uuidcursor?string
Cursor from a previous response's nextCursor to fetch the next page.
Format
uuidlimit?integer
Maximum number of queries to return per page (1-100).
Range
1 <= value <= 100Default
20Response Body
application/json
curl -X GET "https://example.com/logs/queries"{ "queries": [ { "queryId": "10210520-b895-40ca-bce5-474f9643bf53", "question": "string", "interpretedAs": "string", "window": { "from": "2019-08-24T14:15:22Z", "to": "2019-08-24T14:15:22Z" }, "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43", "resultsKind": "string", "createdAt": "2019-08-24T14:15:22Z" } ], "nextCursor": "53a4a333-2825-45a4-80d2-5f430d088f36"}