How to Export Dataset in a JSON File
can someone tell me how can I do that?
curl https://<projectId>.<http://api.sanity.io/v2021-06-07/data/export/<dataset>/|api.sanity.io/v2021-06-07/data/export/<dataset>/> > backup.ndjsonπ
Was this answer helpful?
Sanity β Build the way you think, not the way your CMS thinks
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.