Menu
Get index templates (GET /_index_template/{name})
Get index templates
GET
/_index_template/{name}Use it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Get index templates (GET /_index_template/{name}) action (under indices).
- Fill in the fields below, then reference the result from later steps as
{{getIndexTemplatesGetIndexTemplateName.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getIndexTemplatesGetIndexTemplateName.response.data.<field>}}.
{
"index_templates": [
{
"name": null,
"index_template": null
}
]
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?