Menu
Export Dataset
Export documents in a dataset
GET
/data/export/{dataset}Use it in a workflow
- Add a step and choose the Sanity connector.
- Pick the Export Dataset action (under Export).
- Fill in the fields below, then reference the result from later steps as
{{exportDataset.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with a string (binary). Read it in later steps with {{exportDataset.response.data.<field>}}.
Need more? See the Sanity guide for connection setup and behaviour shared by every action.
Was this page helpful?