query

Runs a read-only statement against a queryable source as the caller. The statement is planned first and refused unless the caller may query every table it references. Every attempt is recorded in the query log.

post/api/v1/query/run

Request

  • The document declares no server URL.
  • Auth
    • API key in header X-API-Key
    • or API key in header Authorization

Request body

max_rowsinteger
sourcestring required
statementstring required

Response

OK

query_idstring
referenced_mrnsstring[]
row_countinteger
truncatedboolean

Changes