[[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 [pass] ++++
++++
interface MlGetInfluencersRequest extends <> {
  job_id: <>
  desc?: boolean
  end?: <>
  exclude_interim?: boolean
  influencer_score?: <<_double, double>>
  from?: <<_integer, integer>>
  size?: <<_integer, integer>>
  sort?: <>
  start?: <>
  page?: MlPage
}

[pass]
++++
++++ [discrete] ==== MlGetInfluencersResponse [pass] ++++
++++
interface MlGetInfluencersResponse {
  count: <<_long, long>>
  influencers: MlInfluencer[]
}

[pass]
++++
++++