Get the async SQL search status
- GET /_sql/async/status/{id}
Get the current status of an async SQL search or a stored synchronous SQL search.
- Cluster privileges:
monitor
Path Parameters
-
idstring Idrequired -
The identifier for the search.
Response
-
expiration_time_in_millisEpochTimeUnitMillisrequired -
The timestamp, in milliseconds since the Unix epoch, when Elasticsearch will delete the search and its results, even if the search is still running.
-
idstringrequired -
The identifier for the search.
-
is_runningbooleanrequired -
If
true, the search is still running. Iffalse, the search has finished. -
is_partialbooleanrequired -
If
true, the response does not contain complete search results. Ifis_partialistrueandis_runningistrue, the search is still running. Ifis_partialistruebutis_runningisfalse, the results are partial due to a failure or timeout. -
start_time_in_millisEpochTimeUnitMillisrequired -
The timestamp, in milliseconds since the Unix epoch, when the search started. The API returns this property only for running searches.
-
completion_statusnumber uint -
The HTTP status code for the search. The API returns this property only for completed searches.