> ## Documentation Index
> Fetch the complete documentation index at: https://docs.datazone.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Exports

> Download query results, or send them by email or to a SharePoint, OneDrive or Google Drive folder

# Exports

Results in the [SQL Explorer](https://docs.datazone.co/reference/ui/sql-explorer.md), a dataset's **Explore** tab and [intelligent app charts](https://docs.datazone.co/reference/intelligent-apps/components.md) can be exported as **CSV**, **Excel** or **Parquet**. Pick a format, then how you want the file delivered.

![Export menu: format, then Download, Send by email or Save to drive](https://mintcdn.com/datazone/8lsNHwg24UUhHZG9/images/light/exports/export-menu-drive.png?fit=max\&auto=format\&n=8lsNHwg24UUhHZG9\&q=85\&s=f0e346fc32d9cebcb43e91ab42893ebc)

| Delivery | What happens |
| - | - |
| **Download** | The browser downloads the file when it is ready. |
| **Send by email** | The file is sent as an attachment through an email [channel](https://docs.datazone.co/reference/platform/channels.md). |
| **Save to drive** | The file is saved into a folder of a SharePoint, OneDrive or Google Drive [source](https://docs.datazone.co/reference/sources/overview.md). |

The file is prepared in the background, so you can keep working.

## Save to drive

![Save export to a drive dialog](https://mintcdn.com/datazone/8lsNHwg24UUhHZG9/images/light/exports/export-save-to-drive.png?fit=max\&auto=format\&n=8lsNHwg24UUhHZG9\&q=85\&s=53d2857d0de6b5f471b6d4593a0b5c07)

Choose the source (when there is more than one), then browse to a folder or type its path, and click **Save**.

```mermaid theme={null}
flowchart LR
  A[Export → Save to drive] --> B[File is prepared]
  B --> C[Streamed to the folder]
  C -->|done| D[Notification with a link to the file]
  C -->|failed| E[Notification with the reason]
```

* **Save to drive** shows only when the organisation has a SharePoint, OneDrive or Google Drive source and allows Drive delivery.
* You need read access to the source.
* **Google Drive:** share the folder with the source's service account, with edit access. Otherwise the export fails with that reason.

## Allowed deliveries

Organisation admins choose which deliveries members are offered in **Settings → Exports**. The API refuses the others. All three are on by default, and at least one must stay on.

![Settings → Exports: Download, Email and Drive](https://mintcdn.com/datazone/8lsNHwg24UUhHZG9/images/light/exports/exports-settings.png?fit=max\&auto=format\&n=8lsNHwg24UUhHZG9\&q=85\&s=1f09e8b32150d5f03d40687a0b114542)

Every export, whatever the delivery, is logged under **Settings → Audit Logs → Exports**. See [Export audit](https://docs.datazone.co/reference/development/api-key.md#export-audit).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.