Get NQE query execution result
GET/networks/:networkId/nqe-executions/:executionKey/result
Returns the result of an NQE query execution whose status is COMPLETED and outcome is OK. The response
contains the rows produced by the query in the items property; use the offset and limit query parameters
to page through large result sets.
An executionKey remains valid until the next major release of Forward Enterprise; afterwards,
this endpoint returns a 404 error for that key.
Request
Responses
- 200
- 400
- 404
- 409
The JSON response contains the query result rows in the items property.
If you wish to consume rows incrementally, without loading the entire result set into memory at once, send
the Accept: application/jsonl header to get the result in the JSON Lines (newline-delimited JSON) format.
The response will contain one query result row per line.
No result is available because the execution's outcome is not OK. For example, the query
encountered a runtime error (USER_ERROR), exceeded its time limit (TIMED_OUT), or failed
due to an unexpected internal error (SYSTEM_ERROR).
Retrieve the execution status to see the
outcome and, for a USER_ERROR, the associated error details.
No execution was found for the given networkId and executionKey. This happens if the network has been
deleted, if the key is unknown, or if it has expired following a major release of Forward Enterprise.
The query execution is still in progress and has no outcome yet, so no result is available.