[[reference-indices-recovery]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || 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.recovery]] === client.indices.recovery Returns information about ongoing and completed shard recoveries for one or more indices. For data streams, the API returns information for the stream’s backing indices. {ref}/indices-recovery.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (IndicesRecoveryRequest, options?): Promise ---- [discrete] ==== IndicesRecoveryRequest [pass] ++++
++++
interface IndicesRecoveryRequest extends <> {
  index?: <>
  active_only?: boolean
  detailed?: boolean
}

[pass]
++++
++++ [discrete] ==== IndicesRecoveryResponse [pass] ++++
++++
type IndicesRecoveryResponse = Record<<>, IndicesRecoveryRecoveryStatus>

[pass]
++++
++++