API referenceQueries
`DELETE /queries/{id}` — cancel a running query.
curl -X DELETE "https://example.com/queries/string"Empty
`POST /queries` — submit a new query for execution. Returns the unified `QueryResponse` shape every other query endpoint emits. POST
The body is the **same [`QueryText`] `POST /queries/compile` takes** (ADR-0058 §5), so text that compiled is text that submits. ⚠️ **A refused compile is a 400 here, where compile answers 200.** Compile was asked whether the text is valid and said; this was asked to *run* the query and did not. The body carries the same `diagnostics` array, and an unknown `vfql_version` is a 400 with no `diagnostics` key at all (R6).
`GET /queries/{id}/results` — fetch query result rows. GET
Next Page