---
title: "Export a CSV File"
method: POST
path: "/datamart.exportdata"
tags: ["Data Manager"]
---

# Export a CSV File

`POST /datamart.exportdata`

Downloads a ZIP file. The returned ZIP file contains Data Source, Datamart, or Data Feed definitions in the JSON file and data in the CSV file.

## Query parameters

- `timeout` string

## Request body

- object
  - `data` object, required
    - `fieldCollections` string[], required
    - `sanitize` boolean, required

## Response `200`

OK - returns the ZIP file (binary data):
`Content-Type: application/zip`

---

[API](https://skmtc.net/pricefx/apis/the-pricefx-backend-api.md) · [All operations](https://skmtc.net/pricefx/apis/the-pricefx-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pricefx/the-pricefx-backend-api/versions/0850b5d6be73/schema)
