Skip to main content
Download content from Sanity. Every command follows the CLI contract: JSON on stdout, errors on stderr, and command-specific mutation safety controls. Keys resolve as described in Secrets and API keys.

gtm sanity blog

Download blog posts from Sanity.

gtm sanity blog download

Download every blog post to <out-dir>/blogs/<slug>/ (index.md + post.json).
Last modified on July 17, 2026