Execute Query Endpoint
Execute a read-only SELECT SQL statement against a configured data connection and return the result rows. Typically called after generate_sql; pass the returned rows field directly into generate_plotly_chart to visualise the result.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Request body for synchronous query execution.
SQL query to execute (SELECT only). Identifier-case and quoting rules vary by warehouse and by how each schema was defined (Snowflake folds unquoted to UPPERCASE; Postgres folds unquoted to lowercase; mixed-case-quoted identifiers must be quoted on every reference). LLM-authored SQL frequently fails compilation for this reason. Prefer calling generate-sql first — it has catalog knowledge of the connected schema and emits SQL with correct quoting — then pipe its returned SQL into this endpoint verbatim.
1Resource URI of the data connection (e.g. data:org:project:name)
1Maximum rows to return
1 <= x <= 5000
