younifyd
Menu

Get terms in an index (GET)

Get terms in an index

GET/{index}/_terms_enum

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Get terms in an index (GET) action (under search).
  3. Fill in the fields below, then reference the result from later steps as {{getTermsInAnIndexGet.response.data}}.

Request

Path parameters

indexoneOfrequired

A comma-separated list of data streams, indices, and index aliases to search. Wildcard (`*`) expressions are supported. To search all data streams or indices, omit this parameter or use `*` or `_all`.

Response

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

_shardsany
termsarray<string>
completeboolean

If `false`, the returned terms set may be incomplete and should be treated as approximate. This can occur due to a few reasons, such as a request timeout or a node error.

json
{
  "_shards": null,
  "terms": [
    "string"
  ],
  "complete": false
}

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

Get terms in an index (GET) — Elasticsearch — Documentation