Executes a query and returns the result. Accepts a query builder object, a query ID, a query name, or a raw SQL statement.
The format query parameter controls the shape of the data array in the response:
| Value | Description |
|---|---|
CELL_TYPED (default) | Each cell is an object with name, displayName, dataType, order, and value. |
SIMPLE | Each row is a flat JSON object whose keys are the column names. |
COMPACT | Each row is a plain array of values ordered by column position. |


Use the Authorization header with the value 'Bearer
CELL_TYPED, SIMPLE, COMPACT Execute Query Request
Executes a query using the query builder. The from field is required.
Minimal example:
{
"from": [
{
"catalogName": "peaka",
"schemaName": "query",
"tableName": "samplequery"
}
]
}
With columns, filters, limit, offset, and orderBy:
{
"columns": ["amount"],
"from": [
{
"catalogName": "wilderman_green",
"schemaName": "payment",
"tableName": "charges"
}
],
"filters": {
"and": [
[
{ "column": { "catalogName": "wilderman_green", "schemaName": "payment", "tableName": "charges", "columnName": "amount" } },
">",
[150]
]
]
},
"limit": 50,
"offset": 0,
"orderBy": ["amount DESC"]
}
Columns to select. If omitted, all columns (*) are returned.
Tables to query from. At least one entry is required.
Maximum number of rows to return.
Number of rows to skip before returning results.
Ordering specifications. Each entry is a column name optionally followed by ASC or DESC.
Example: ["amount DESC", "created_at ASC"].
Filter conditions. Supports and/or logic with column comparisons.
Query timeout in seconds.
Query Result