Skip to content
Start here

Analytics Engine

Analytics EngineSql

Execute an Analytics Engine SQL query via request body
POST/accounts/{account_id}/analytics_engine/sql
ModelsExpand Collapse
SqlQueryResponse object { data, meta, rows }

Response structure when FORMAT JSON is specified in the query. Contains the query result rows, column metadata, and a row count.

data: array of map[unknown]

Array of result rows. Each row is an object with keys corresponding to the selected columns.

meta: array of object { name, type }

Column metadata describing the name and type of each column in the result set.

name: string

Column name.

type: string

Column data type.

rows: number

Total number of rows in the result set.