v51

OpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-08-01308532588.1 KB
System analytics queries

Execute Agent Insights free-form SQL

Runs Ollie-generated read-only SQL bounded to the caller's workspace and the requested project. Returns 501 when the Agent Insights toggle is off.

post/v1/internal/analytics-queries/projects/{projectId}

Path parameters

projectIdstring uuid required

Request body

querystring required

Read-only ClickHouse SQL. Must return exactly one column named result produced via toJSONString(...)

Response

Query results

resultsJsonNode[]