Sazabi
APILogs

Run a native log query

POST
/logs/native-query

Run a read-only query in the log store's native query language, with server-side guardrails.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/logs/native-query" \  -H "Content-Type: application/json" \  -d '{    "query": "string"  }'
{  "result": "string",  "format": "text",  "meta": {    "backendId": "clickhouse",    "took": 0,    "truncated": true  }}