List replay sessions
navigator.sendBeacon may not include SDK metadata because browsers do not allow custom headers on beacon requests.
Search replay sessions
fields, clamped limit, applied order, and a replays array.
Query parameters:
from/to- required ISO 8601 timestamps; ranges must be bounded to 31 days or lesslimit- optional result limit; defaults to 25 and clamps to 100order- optional sort order:started_at_desc,started_at_asc,created_at_desc,created_at_asc,active_ms_desc,interaction_count_desc,console_error_count_desc, ornetwork_failed_count_descurl,environment,release,source,library- optional exact or URL substring filtersai_tag,ai_freeform_tag,ai_highlighted- optional AI enrichment filtersmin_interactions,min_console_logs,min_console_warnings,min_console_errors,min_network_failed- optional non-negative threshold filtersfields- optional comma-separated replay summary field mask, such assession_id,first_url,error_count,ai_tags,ai_highlighted
replay_search_invalid_time_range, replay_search_invalid_filter, replay_search_invalid_order, replay_search_limit_too_large, and replay_search_invalid_field_mask.
Replay summaries include retention_expires_at, retention_state, segment_reads_allowed, deleted_at, deleted_reason, ai_tags, ai_freeform_tags, ai_highlighted, ai_enrichment_status, ai_enriched_at, and ai_enrichment_error. List and search omit deleted sessions; direct detail/inspect responses can still explain a retained tombstone when one exists. Legacy retained sessions that cannot be tied to a known plan use retention_state: "unknown" and keep segment reads allowed.
Get one replay session
Inspect replay timeline
include- optional comma-separated categories:page,replay_error,console,network,activity,segmentexclude- optional comma-separated categories to remove afterincludeis appliedlimit- optional timeline limit; defaults to 100 and clamps to 200slow_network_ms- optional slow-network threshold in milliseconds; defaults to 1000
replay_inspect_invalid_category, replay_inspect_invalid_filter, replay_inspect_invalid_session_id, and replay_inspect_limit_too_large.
MCP replay workflows
The hosted MCP server exposes replay search and inspect through Code Mode. Use thesearch tool to discover replays.search or replays.inspect, then call the operation through execute. Code Mode returns the query schema, response schema, generated TypeScript, and example squasher.request(...) call for each operation.
Replay segment payloads remain API/CLI-only because they can contain large raw rrweb event payloads. Agents should use replays.search and replays.inspect first, then ask a user before fetching raw segment events outside MCP.
CLI replay workflows
The Squasher CLI exposes the same search and inspect surfaces for agent and headless workflows. Search and inspect print compact JSON by default; add--pretty when reading output interactively.
Get one replay segment payload
segment- required zero-based replay segment index
410 with stable JSON error codes: replay_deleted or replay_expired. Missing replay metadata returns replay_not_found, and missing indexed segment metadata returns replay_segment_not_found.
Agent handoff
Agents should use replay search and inspect before raw event payloads:squasher replays search, squasher replays inspect, or MCP search("replays.search") and search("replays.inspect").