Skip to content
sigiro
Esc
navigateopen⌘Jpreview

Run a read-only SQL query against this project's telemetry.

Accepts exactly one SELECT statement as the raw request body. Allowed tables: sigiro_spans, sigiro_logs, sigiro_log_templates, sigiro_metrics_gauge, sigiro_metrics_sum, sigiro_metrics_histogram, sigiro_metrics_exp_histogram, sigiro_profiles, sigiro_anomalies (optionally qualified as lake.* or main.*). WITH/CTE clauses are not supported — rewrite as derived-table subqueries. Scalar functions are allowlisted (aggregates, json extraction, date/time, string, math, conditional helpers); file/network readers are blocked. Every drill_down_sql returned by /v1/investigate can be pasted here verbatim.

POST/v1/query
Request body
requiredtext/plain
string
Responses
200Query results
Array of any
any
Request
curl -X POST "/v1/query" \
  -H "Content-Type: text/plain" \
  -d '"string"'
Response
[
  "string"
]