Analytics Queries

Read saved query execution state

Return the current state of a saved query's execution without starting one. Used to recover after a remount or a dropped websocket, so a client never has to re-POST (and duplicate work) just to learn an outcome. Takes the same override body as execute so it can resolve the same variant. POST is used only to carry that body.

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

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/state: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