Comment on page
For punctual exports, you may want to use the navigator (in Data Studio > Exports) rather than our API for more simplicity.
An export is a definition with:
Each export has executions representing its result at a given time.
An execution goes through different stages:
Pendingif the export is not started
Runningif the export is started
Failedonce the export has been completed
Details of an export
You should check your query and verify its results before creating an export. It is easier to do at this step, as the export would only return an empty file and no message.
Create an export
// Creating an export payload
Generate an execution
If available, the technical name of the file to download is in the
The result of an export is saved as a data file in the platform.
You have two methods to retrieve it :
- Using the exports API (recommended)
- Using the data_file API
Download using the exports API
Download using the data_file API
Download the error file