Docs

zitadel preview list

List the project's live previews, newest first.

Usage

npx @zitadel/cli@latest preview list [flags]

Flags

FlagDescription
--limit <value>Page size (server default 20, max 100). From 1 to 100.
--page-token <value>Continue from a previous page's next_page_token.
-a, --allFetch every page instead of one. Not with --page-token.
--plainTab-separated rows with no header, for piping. Implied when stdout is not a terminal.
-e, --env <value>Environment to run against, e.g. production. Defaults to ZITADEL_ENV, then the hosting platform's build (VERCEL_ENV, or Netlify's CONTEXT), then development.
--env-file <value>Read ZITADEL_* values from this file ahead of the process environment. A relative path is read from the current directory, not from --cwd. Cannot be combined with --env.

It also takes the global flags.

Examples

npx @zitadel/cli@latest preview list
npx @zitadel/cli@latest preview list --all
npx @zitadel/cli@latest preview list --plain

API

It calls List previews, GET /projects/{project_id}/previews, in the Previews API.

Was this helpful?