latestOpenAPI 3.1.0Proprietary2026-08-175035117.5 KB

019f79ecdd6c

SQL

Run a query

Runs a SQL query and returns the result.

Times out after 1 minute. For longer queries, create a job instead.

get/v3/sql/{connectionName}/query

Path parameters

connectionNamestring required

Name of the connection to use.

Query parameters

qstring required

The SQL query, or the name of a named source.

queryParametersstring

Values for the parameters in the query, as a JSON string. Named object on BigQuery, positional array on Snowflake, Redshift and PostgreSQL.

v'3.0' | '3.1' | '3.2' | '3.3' | '3.4'

API version. From 3.3, spatialDataColumn and spatialDataType replace geo_column.

Response

The query result.

rowsobject[]

The result rows. Geometry columns are returned as GeoJSON.

metaobject

Provider-specific metadata.