Get the status of a previously submitted async search request given its identifier, without retrieving search results.
If the Elasticsearch security features are enabled, the access to the status of a specific async search is restricted to:
The user or API key that submitted the original async search request.
Users that have the monitor cluster privilege or greater privileges.
When the query is no longer running, this property indicates whether the search failed or was successfully completed on all shards.
While the query is running, is_partial is always set to true.
is_runningbooleanrequired
Indicates whether the search is still running or has completed.
Note
If the search failed after some shards returned their results or the node that is coordinating the async search dies, results may be partial even though is_running is false.
expiration_timeuniononeOf
Indicates when the async search will expire.
One of:stringornumber
expiration_time_in_millisnumberrequired
start_timeuniononeOf
One of:stringornumber
start_time_in_millisnumberrequired
completion_timeuniononeOf
Indicates when the async search completed.
It is present only when the search has completed.
One of:stringornumber
completion_time_in_millisnumber
errorobject
typestringrequired
The type of error
reasonunionstringnullable
A human-readable explanation of the error, in English.
One of:string
stack_tracestring
The server stack trace. Present only if the error_trace=true parameter was sent with the request.
If the async search completed, this field shows the status code of the search.
For example, 200 indicates that the async search was successfully completed.
503 indicates that the async search was completed with an error.