| 1234567891011121314151617181920212223242526272829303132 | --:api: preview-data-frame-transform:request: PreviewDataFrameTransformRequest:response: PreviewDataFrameTransformResponse--[id="{upid}-{api}"]=== Preview Data Frame Transform APIThe Preview Data Frame Transform API is used to preview the results ofa {dataframe-transform}.The API accepts a +{request}+ object as a request and returns a +{response}+.[id="{upid}-{api}-request"]==== Preview Data Frame RequestA +{request}+ takes a single argument: a valid data frame transform config.["source","java",subs="attributes,callouts,macros"]--------------------------------------------------include-tagged::{doc-tests-file}[{api}-request]--------------------------------------------------<1> The source config from which the data should be gathered<2> The pivot config used to transform the data<3> The configuration of the {dataframe-job} to previewinclude::../execution.asciidoc[][id="{upid}-{api}-response"]==== ResponseThe returned +{response}+ contains the preview documents
 |