Run an earlier log query (deprecated)
Deprecated alias for POST /logs/queries/execute with a queryId; removed on 2027-03-01. Run the query behind an earlier logs.ask answer again, by its queryId, with no model involved: over the window the answer covered or a new one, with a new limit, or narrowed to the log lines of one group of a table. Returns results without an answer, and a new queryId whose parentId is the one that was run. An unknown id is not found; asking the question again yields a new id.
POST https://api.sazabi.com/v1/logs/queries/{queryId}/execute
Deprecated
Path Parameters
queryId returned by an earlier logs.ask answer.
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/logs/queries/497f6eca-6276-4993-bfeb-53cbbbba6f08/execute" \ -H "Content-Type: application/json" \ -d '{}'{ "queryId": "10210520-b895-40ca-bce5-474f9643bf53", "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43", "status": "ok", "answer": "string", "explanation": "string", "interpretedAs": "string", "results": { "kind": "search", "kinds": [ { "message": "string", "severity": "string", "services": [ { "service": "string", "count": 0 } ], "count": 0, "previousCount": 0, "firstSeen": "string", "firstSeenInWindow": true, "lastSeen": "string", "examples": [ { "id": "string", "time": "string", "service": "string", "severity": "string", "body": "string", "attributes": { "property1": "string", "property2": "string" }, "traceId": "string", "spanId": "string" } ] } ], "matched": 0, "truncated": true, "previousWindow": { "from": "2019-08-24T14:15:22Z", "to": "2019-08-24T14:15:22Z" } }, "window": { "from": "2019-08-24T14:15:22Z", "to": "2019-08-24T14:15:22Z" }, "periods": [ { "name": "string", "window": { "from": "2019-08-24T14:15:22Z", "to": "2019-08-24T14:15:22Z" }, "results": { "kind": "search", "kinds": [ { "message": "string", "severity": "string", "services": [ { "service": "string", "count": 0 } ], "count": 0, "previousCount": 0, "firstSeen": "string", "firstSeenInWindow": true, "lastSeen": "string", "examples": [ { "id": "string", "time": "string", "service": "string", "severity": "string", "body": "string", "attributes": { "property1": "string", "property2": "string" }, "traceId": "string", "spanId": "string" } ] } ], "matched": 0, "truncated": true, "previousWindow": { "from": "2019-08-24T14:15:22Z", "to": "2019-08-24T14:15:22Z" } } } ], "meta": { "coverage": { "from": "2019-08-24T14:15:22Z", "to": "2019-08-24T14:15:22Z", "status": "complete", "reason": "stored_range" } }, "rejection": { "code": "bucket_too_fine", "message": "string" }, "writeDeclined": true, "attempts": [ { "n": 0, "action": "string" } ], "timings": { "planMs": 0, "executeMs": 0, "answerMs": 0, "totalMs": 0 }, "nextCursor": "string"}