Skip to main content
POST

Authorizations

Authorization
string
header
required

Use the Authorization header with the value 'Bearer ' to authenticate. Partner API Keys have full access; Project API Keys are limited to their project scope. Learn more: https://docs.peaka.com/api-reference/authentication

Path Parameters

projectId
string
required

ID of the Project

Query Parameters

format
enum<string>
default:CELL_TYPED

Response format: CELL_TYPED (default), SIMPLE, or COMPACT

Available options:
CELL_TYPED,
SIMPLE,
COMPACT

Body

application/json

Execute Query Request

Executes a query using the query builder. The from field is required.

Minimal example:

With columns, filters, limit, offset, and orderBy:

columns
string[]

Columns to select. If omitted, all columns (*) are returned.

from
object[]

Tables to query from. At least one entry is required.

limit
integer<int64>

Maximum number of rows to return.

offset
integer<int64>

Number of rows to skip before returning results.

orderBy
string[]

Ordering specifications. Each entry is a column name optionally followed by ASC or DESC. Example: ["amount DESC", "created_at ASC"].

filters
object

Filter conditions. Supports and/or logic with column comparisons.

timeout
integer<int32>

Query timeout in seconds.

Response

200 - application/json

Query Result