Join us live Sept. 27 – How Sanity and Vercel powered Morning Brew's transformation –>

Dataset

Interact with datasets in your project

usage: sanity dataset [--default] [-v|--version] [-d|--debug] [-h|--help] <command> [<args>]

Commands:
   alias       You can manage your dataset alias using this command.
   copy        Copies a dataset including its assets to a new dataset
   create      Create a new dataset within your project
   delete      Delete a dataset within your project
   export      Export dataset to local filesystem as a gzipped tarball
   import      Import documents to given dataset from ndjson file
   list        List datasets of your project
   visibility  Set visibility of a dataset

Options:
  --force Skips security prompt and forces link command

See 'sanity help dataset <command>' for specific information on a subcommand.

Was this article helpful?