| 12345678910111213141516171819202122232425262728293031323334353637383940 | --:api: get-data-frame-analytics:request: GetDataFrameAnalyticsRequest:response: GetDataFrameAnalyticsResponse--[role="xpack"][id="{upid}-{api}"]=== Get {dfanalytics-jobs} APIbeta::[]Retrieves one or more {dfanalytics-jobs}.The API accepts a +{request}+ object and returns a +{response}+.[id="{upid}-{api}-request"]==== Get {dfanalytics-jobs} requestA +{request}+ requires either a {dfanalytics-job} ID, a comma-separated list ofIDs, or the special wildcard `_all` to get all {dfanalytics-jobs}.["source","java",subs="attributes,callouts,macros"]--------------------------------------------------include-tagged::{doc-tests-file}[{api}-request]--------------------------------------------------<1> Constructing a new GET request referencing an existing {dfanalytics-job}<2> Optional boolean value for requesting the {dfanalytics-job} in a format that canthen be put into another cluster. Certain fields that can only be set whenthe {dfanalytics-job} is created are removed.include::../execution.asciidoc[][id="{upid}-{api}-response"]==== ResponseThe returned +{response}+ contains the requested {dfanalytics-jobs}.["source","java",subs="attributes,callouts,macros"]--------------------------------------------------include-tagged::{doc-tests-file}[{api}-response]--------------------------------------------------
 |