latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-1492101106.3 KB

d1828ece5a64

Statistics

Statistics query

Executes a read-only SQL query for Grafana-style statistics panels. Each rawquery in the request body is validated before execution (same rules as POST /api/v4/query): allowed statement types include SELECT, WITH, SHOW, DESCRIBE, EXPLAIN, PRAGMA; semicolons and DML/DDL are rejected.

post/statistics/query

Request body

Response

Response

dataobject
totalinteger