Commands
replay
Search and inspect Session Replays
Commands
Section titled “Commands”sentry replay list <org/project>
Section titled “sentry replay list <org/project>”List recent Session Replays
Arguments:
| Argument | Description |
|---|---|
<org/project> | <org>/, <org>/<project>, or <project> (search) |
Options:
| Option | Description |
|---|---|
-n, --limit <limit> | Number of replays (1-1000) (default: "25") |
-q, --query <query> | Search query (Sentry replay search syntax) |
-e, --environment <environment>... | Filter by environment (repeatable, comma-separated) |
-s, --sort <sort> | Sort by: date, oldest, duration, errors, activity, or a raw replay sort field (default: "date") |
-t, --period <period> | Time range: "7d", "2026-04-01..2026-05-01", ">=2026-04-01" (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) |
sentry replay view <replay-id-or-url...>
Section titled “sentry replay view <replay-id-or-url...>”View a Session Replay
Arguments:
| Argument | Description |
|---|---|
<replay-id-or-url...> | [<org>/<project>] <replay-id> or <replay-url> |
Options:
| Option | Description |
|---|---|
-w, --web | Open in browser |
-f, --fresh | Bypass cache, re-detect projects, and fetch fresh data |
All commands support --json for machine-readable output and --fields to select specific JSON fields.
Examples
Section titled “Examples”List replays
Section titled “List replays”# List recent replays for a projectsentry replay list my-org/frontend
# Search across all projects in an orgsentry replay list my-org/ --query "environment:production"
# Change the time window and sortsentry replay list my-org/frontend --period 24h --sort errors
# Paginate through resultssentry replay list my-org/frontend -c nextsentry replay list my-org/frontend -c prev
# Output machine-readable datasentry replay list my-org/frontend --jsonView a replay
Section titled “View a replay”# View a replay by ID using auto-detected org/project contextsentry replay view 346789a703f6454384f1de473b8b9fcc
# View a replay with an explicit orgsentry replay view my-org/346789a703f6454384f1de473b8b9fcc
# View a replay with explicit org/project contextsentry replay view my-org/frontend/346789a703f6454384f1de473b8b9fcc
# Open a replay in the browsersentry replay view my-org/346789a703f6454384f1de473b8b9fcc --web