vercel flags inspect supports --json output
Introduced 2026-09-11 · score 0.97
HOW TO USE IT
When a workflow needs structured output for a feature flag, run `vercel flags inspect <flag> --json` to print its definition to stdout.
vercel flags inspect <flag> --jsonWHY THIS HELPS
Inspect a feature flag definition in a script or other workflow that consumes structured output.
REQUIREMENTS AND LIMITATIONS
- Version: 59.16.0
- <flag> (required): Flag key to inspect. The CLI docs show `[flag]` as optional; supply the flag key to inspect a specific definition.
- --json: Output the flag definition as JSON to stdout; added in Vercel CLI 59.16.0.
- Prerequisite: Use an authenticated Vercel CLI. Install with `pnpm i -g vercel`.
- Prerequisite: CLI-only flag management does not require SDK packages, Toolbar, Flags Explorer, or `.env.local`.
FIRST-PARTY EVIDENCE
- https://vercel.com/docs/cli/release-notes#vercel@59.16.0
- https://vercel.com/docs/cli/flags
- https://github.com/vercel/vercel-plugin/blob/main/skills/flags-sdk/SKILL.md
Check the installed version and the source before using it. Entry JSON