Export data from a report
Authentication
OAuth authentication of the form <token>.
OAuth authentication of the form <token>.
This endpoint lets you create a file containing data exported from a report. Reports are exported as entire PDF documents.
Successful requests return a queryId. Use the queryId with the /v2/query/{queryId}/download endpoint to download the file when it is ready. See Download an exported file.
To export a report to a specific destination or recipient, see the /v2/reports/{reportId}/send endpoint.
layout parameter to specify either portrait or landscape layout.queryId used to download the exported file expires 1 hour after your request is received. You can extend this to 6 hours using the resultsValidityTimeMs parameter.Specify the control ID and control value of one or more control elements in the workbook or report to filter the returned data. The control must exist in the Sigma workbook or report and target an element before you can export based on the control value.
Syntax { control-id: control-value }
The control-id is configured in the Sigma workbook or report. The control-value is the value that is passed to the control.
Values can take multiple forms, depending on the data type of the control:
Boolean
Number
Text
Date
All dates use UTC time zones.
Notes
Use URL encoding to encode characters in your control values (such as commas) to prevent the system from interpreting them as separators.
For example: “New York, NY,Boston, MA” can be encoded as:
“New%20York%2C%20NY,Boston%2C%20MA”