Skip to main content

Usage

View detailed information about a Sentry event by its ID.

Target Specification

You can also pass a Sentry event URL:

Flags

boolean
default:"false"
Output event data as JSON
boolean
default:"false"
Open the event in your web browser instead of displaying in terminalAlias: -w
number
default:"10"
Number of spans to include in the output. Set to 0 or “no” to disable span tree display.When enabled, shows a hierarchical trace tree of spans associated with the event.

Examples

View an event (auto-detect context)

View event with explicit org/project

View event from URL

Open event in browser

View event with more spans

View event without span tree

Output as JSON

Output

Human-readable format

Displays:
  • Event ID and timestamp
  • Platform, environment, and release information
  • Error message and type
  • Tags
  • User context (if available)
  • Span tree (if --spans is enabled)

JSON format

Returns the complete event object including:
  • event - Full event data from Sentry API
  • trace - Trace and span data (if --spans > 0)
    • traceId - Associated trace ID
    • spans - Array of span objects