Commands
event
View and list Sentry events
Commands
sentry event view <org/project/event-id...>
View details of a specific event
Arguments:
| Argument | Description |
|---|---|
<org/project/event-id...> | [<org>/<project>] <event-id> - Target (optional) and event ID (required) |
Options:
| Option | Description |
|---|---|
-w, --web | Open in browser |
--spans <spans> | Span tree depth limit (number, "all" for unlimited, "no" to disable) (default: "3") |
-f, --fresh | Bypass cache, re-detect projects, and fetch fresh data |
sentry event list <issue>
List events for an issue
Arguments:
| Argument | Description |
|---|---|
<issue> | Issue: @latest, @most_frequent, <org>/ID, <project>-suffix, ID, or suffix |
Options:
| Option | Description |
|---|---|
-n, --limit <limit> | Number of events (1-1000) (default: "25") |
-q, --query <query> | Search query (Sentry search syntax) |
--full | Include full event body (stacktraces) |
-t, --period <period> | Time range: "7d", "2026-03-07..2026-04-07", ">=2026-03-07" (default: "7d") |
-f, --fresh | Bypass cache, re-detect projects, and fetch fresh data |
-c, --cursor <cursor> | Navigate pages: "next", "prev", "first" (or raw cursor string) |
All commands support --json for machine-readable output and --fields to select specific JSON fields.
Examples
sentry event view abc123def456abc123def456abc12345Event: abc123def456abc123def456abc12345Issue: FRONT-ABCTimestamp: 2024-01-20 14:22:00
Exception: TypeError: Cannot read property 'foo' of undefined at processData (app.js:123:45) at handleClick (app.js:89:12) at HTMLButtonElement.onclick (app.js:45:8)
Tags: browser: Chrome 120 os: Windows 10 environment: production release: 1.2.3
Context: url: https://example.com/app user_id: 12345# Open in browsersentry event view abc123def456abc123def456abc12345 -wFinding Event IDs
Event IDs can be found:
- In the Sentry UI when viewing an issue's events
- In the output of
sentry issue viewcommands - In error reports sent to Sentry (as
event_id)