[[reference-ml-get_influencers]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || 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.ml.getInfluencers Get anomaly detection job results for influencers. Influencers are the entities that have contributed to, or are to blame for, the anomalies. Influencer results are available only if an `influencer_field_name` is specified in the job configuration. {ref}/ml-get-influencer.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (MlGetInfluencersRequest, options?): Promise ---- [discrete] ===== `MlGetInfluencersRequest` [source,ts] ---- interface MlGetInfluencersRequest extends <> { job_id: <> desc?: boolean end?: <> exclude_interim?: boolean influencer_score?: <> from?: <> size?: <> sort?: <> start?: <> page?: MlPage } ---- [discrete] ===== `MlGetInfluencersResponse` [source,ts] ---- interface MlGetInfluencersResponse { count: <> influencers: MlInfluencer[] } ----