younifyd
Menu

Delete an async ES|QL query

Delete an async ES|QL query

DELETE/_query/async/{id}

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Delete an async ES|QL query action (under esql).
  3. Fill in the fields below, then reference the result from later steps as {{deleteAnAsyncEsQlQuery.response.data}}.

Request

Path parameters

idstringrequired

The unique identifier of the query. A query ID is provided in the ES|QL async query API response for a query that does not complete in the designated time. A query ID is also provided when the request was submitted with the `keep_on_completion` parameter set to `true`.

Response

Returns 200 with an object. Read it in later steps with {{deleteAnAsyncEsQlQuery.response.data.<field>}}.

acknowledgedboolean

For a successful response, this value is always true. On failure, an exception is returned instead.

json
{
  "acknowledged": false
}

Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.

Delete an async ES|QL query — Elasticsearch — Documentation