[[reference-tasks-list]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || 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.tasks.list The task management API returns information about tasks currently executing on one or more nodes in the cluster. {ref}/tasks.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (TasksListRequest, options?): Promise ---- [discrete] ===== `TasksListRequest` [source,ts] ---- interface TasksListRequest extends <> { actions?: string | string[] detailed?: boolean group_by?: TasksGroupBy nodes?: <> parent_task_id?: <> master_timeout?: <> timeout?: <> wait_for_completion?: boolean } ---- [discrete] ===== `TasksListResponse` [source,ts] ---- type TasksListResponse = TasksTaskListResponseBase ----