Commands
info
Print configuration and verify authentication
sentry info
Section titled “sentry info”Print configuration and verify authentication
Options:
| Option | Description |
|---|---|
--config-status-json | Emit configuration + auth status as JSON (for external tooling); always exits 0 |
--no-defaults | Verify only authentication, without requiring a default org/project |
All commands support --json for machine-readable output and --fields to select specific JSON fields.
# Print the resolved config and verify authenticationsentry info
# Verify only authentication (don't require a default org/project)sentry info --no-defaults
# Machine-readable status for external tooling (always exits 0)sentry info --config-status-jsonImportant Notes
Section titled “Important Notes”infoprints the resolved Sentry server URL and the default organization and project, then verifies your credentials against the server.- The server URL comes from
SENTRY_URL, the stored default, or the SaaS default; org/project come fromSENTRY_ORG/SENTRY_PROJECTor stored defaults.have_dsnreflects whetherSENTRY_DSNis set. - Exits non-zero when authentication fails, or (unless
--no-defaults) when no default organization/project is configured. --config-status-jsonemits a JSON status object (config,auth,have_dsn) for external tooling and always exits 0 — it is a status report, not a check. For general machine-readable output use--json.