Menu
Get data stream (GET /_data_stream)
Get data stream
GET
/_data_streamUse it in a workflow
- Add a step and choose the OpenSearch connector.
- Pick the Get data stream (GET /_data_stream) action (under indices).
- Fill in the fields below, then reference the result from later steps as
{{getDataStreamGetDataStream.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getDataStreamGetDataStream.response.data.<field>}}.
{
"data_streams": [
{
"generation": 0,
"indices": [
{
"index_name": "string",
"index_uuid": "string",
"ilm_policy": "string",
"managed_by": "Data stream lifecycle",
"prefer_ilm": false
}
],
"name": "string",
"status": null,
"template": "string",
"timestamp_field": {
"name": "string"
},
"_meta": {},
"allow_custom_routing": false,
"hidden": false,
"ilm_policy": "string",
"next_generation_managed_by": "Data stream lifecycle",
"prefer_ilm": false
}
]
}
Need more? See the OpenSearch guide for connection setup and behaviour shared by every action.
Was this page helpful?