Analytics Queries

Request saved query execution (async)

Start (or join) an asynchronous execution of a saved query. Returns immediately with an executionId rather than waiting for ClickHouse; the result arrives over the analytics websocket, or can be recovered from GET /queries/:queryId/executions. Concurrent requests for the same resolved variant share one execution. Responds 202 while work is in progress and 200 when data is returned inline.

post/application/{applicationId}/analytics/v1/queries/{queryId}/executions

Path parameters

applicationIdnumber required

Gamebeast project ID

queryIdnumber required

Headers

environment_idnumber required

Gamebeast environment ID

Request body

boardIdnumber
refreshboolean
maxAgeSecondsinteger

Response

Default Response

status'ready' | 'stale' | 'queued' | 'computing' | 'failed' required
executionIdstring
{"stackTrail":"paths:/application/{applicationId}/analytics/v1/queries/{queryId}/executions:post:responses:200:content:application/json:schema:properties:data","oasType":"schema","type":"unknown"}
refreshedAtstring
executionMsnumber
startedAtstring
dedupJoinersnumber
variantTokenstring

Changes

Changed in 1 of the 2 revisions of this API.1