[[reference-indices-get_data_stream]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || This file is autogenerated, DO NOT send pull requests that changes this file directly. || || You should update the script that does the generation, which can be found in: || || https://github.com/elastic/elastic-client-generator-js || || || || You can run the script with the following command: || || npm run elasticsearch -- --version || || || || || || || =========================================================================================================================== //////// [discrete] [[client.indices.getDataStream]] === client.indices.getDataStream Get data streams. Retrieves information about one or more data streams. {ref}/data-streams.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (IndicesGetDataStreamRequest, options?): Promise ---- [discrete] ==== IndicesGetDataStreamRequest [pass] ++++
++++
interface IndicesGetDataStreamRequest extends <> {
  name?: <>
  expand_wildcards?: <>
  include_defaults?: boolean
  master_timeout?: <>
  verbose?: boolean
}

[pass]
++++
++++ [discrete] ==== IndicesGetDataStreamResponse [pass] ++++
++++
interface IndicesGetDataStreamResponse {
  data_streams: IndicesDataStream[]
}

[pass]
++++
++++