Get async ES|QL query results
- GET /_query/async/{id}
Get the current status and available results or stored results for an ES|QL asynchronous query. If the Elasticsearch security features are enabled, only the user who first submitted the ES|QL query can retrieve the results using this API.
Read the reference documentationQuery parameters
-
drop_null_columnsboolean · default: false -
Indicates whether columns that are entirely
nullwill be removed from thecolumnsandvaluesportion of the results. Iftrue, the response will include an extra section under the nameall_columnswhich has the name of all the columns. -
format -
A short version of the Accept header, for example
jsonoryaml. -
Values:
csvjsontsvtxtyamlcborsmilearrow -
keep_alivestring -
The period for which the query and its results are stored in the cluster. When this period expires, the query and its results are deleted, even if the query is still ongoing.
- Reference
-
wait_for_completion_timeoutstring -
The period to wait for the request to finish. By default, the request waits for complete query results. If the request completes during the period specified in this parameter, complete query results are returned. Otherwise, the response returns an
is_runningvalue oftrueand no results. - Reference