query

POST /query/batch

Runs several APL and MPL queries in one request and streams each result as a server-sent event when it completes. Each item sets exactly one of aplRequest or mplRequest; per-item failures, including query limit errors, arrive as error events.

Request

Query parameters

maxConcurrencyinteger

Maximum number of concurrent queries to execute

nocacheboolean

Whether to bypass cache for all queries in the batch

apl-sourcestring

Contains the source of the APL query (for example console, dashboard, etc.)

apl-source-idstring

Contains the id of the source, for example dashboard_id

Request body

queryIdstring required

Unique identifier for this query in the batch

Response

SSE stream of query results. Each event carries a kind field ("apl" or "mpl") indicating how the data payload for that queryId should be interpreted.

Per-item query-limit errors are delivered as SSE error events with status 429, the QueryLimitError body, and X-QueryLimit-* headers.

Changes

No recorded changes to this operation across all 2 revisions of this API.