Structured Content 101: Find out how to make your content work harder (without your team working harder) →


Interact with documents in your project

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

   create  Create one or more documents
   delete  Delete a document by ID
   get     Get and print a document
   query   Query for documents

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

Was this article helpful?