Usage
Target Patterns
The command supports multiple targeting modes:- Auto-detect (no argument): Detect from DSN or config defaults
- Explicit target (
<org>/<project>): View a specific project - Cross-org search (
<project>): Find a project across all accessible orgs
Examples
Flags
--json
Output results as JSON instead of human-readable format.
- Example:
sentry project view --json
--web
Alias: -w
Open the project in your browser instead of displaying details in the terminal.
- Example:
sentry project view sentry/sentry -w
Output
Human-Readable Format (Default)
Displays project details including:- Organization - Organization slug
- Project - Project slug
- Name - Project display name
- ID - Project ID
- Platform - Project platform
- Status - Project status (active, disabled, etc.)
- DSN - Primary DSN (if available)
- Created - Creation timestamp
JSON Format
With--json, outputs the complete project object including:
id- Project IDslug- Project slugname- Project nameplatform- Platform identifierstatus- Project statusdsn- Primary DSN (null if unavailable)- Additional API fields
Monorepo Support
In monorepos with multiple Sentry projects, the command detects and displays all projects:Examples
View project details
Auto-detect project from current directory
Open project in browser
Get JSON for scripting
Search across organizations
Notes
- Auto-detect mode supports monorepo configurations with multiple Sentry projects
- The DSN is fetched best-effort; if unavailable, the field will be null
- When using
--webwith multiple detected projects, you must specify which project to open - Project search (bare slug) will prompt if the project exists in multiple organizations