Get Query Results
Returns the resolved results of a completed query, as an array of metric rows.
Every row carries the common fields (metric, granularity, splitby, tseq, cseq). The remaining fields depend on the analysis type the query was registered for, so handle each row as a flexible set of keys. Select an example below to see the shape returned for each analysis type.
Authorizations
Authentication is done via Basic Auth. This requires a Base64-encoded string of your credentials in the format username:password.
- Username: Use your MoEngage Workspace ID (also known as the App ID). Find it in the MoEngage dashboard at Settings > Account > API keys.
- Password: Use an API key from Settings > Account > API keys.
Refer to API Key Dashboard for details on creating and managing API keys.
Path Parameters
The request_id returned when the query was registered.
"REQUEST_ID"
Response
This response is returned when the request is processed successfully.
A unique identifier for the response, useful for correlating logs and support requests.
"fc803857-632e-4bf0-8df1-fbc2bdeedb66"
The type of resource returned in the data field.
"query_result"
The resolved query results, as an array of metric rows.