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