| 12345678910111213141516171819202122232425262728293031323334353637 | --:api: get-datafeed:request: GetDatafeedRequest:response: GetDatafeedResponse--[id="{upid}-{api}"]=== Get Datafeed APIThe Get Datafeed API provides the ability to get {ml} datafeeds in the cluster.It accepts a +{request}+ object and respondswith a +{response}+ object.[id="{upid}-{api}-request"]==== Get Datafeed RequestA +{request}+ object gets can have any number of `datafeedId` entries.However, they all must be non-null. An empty list is the same as requesting for all datafeeds.["source","java",subs="attributes,callouts,macros"]--------------------------------------------------include-tagged::{doc-tests-file}[{api}-request]--------------------------------------------------<1> Constructing a new request referencing existing `datafeedIds`, can contain wildcards<2> Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified)[id="{upid}-{api}-response"]==== Get Datafeed Response["source","java",subs="attributes,callouts,macros"]--------------------------------------------------include-tagged::{doc-tests-file}[{api}-response]--------------------------------------------------<1> The count of retrieved datafeeds<2> The retrieved datafeedsinclude::../execution.asciidoc[]
 |