List Raw Sessions
list_raw_sessionsList sessions with raw archived messages in a time window, grouped by identity fields, with optional user message samples and exclusion of unresolved provenance.
Instructions
List sessions with raw archive messages inside a time window, grouped by (source_root, host, project, session_id) with a stable session_ref, content_hash, first/last message epoch, message count, and optional role=user message samples. Unresolved or conflicted provenance is skipped and reported in excluded_legacy_identities; latest fills at most that many newest healthy sessions and does not spend slots on skipped rows. Use for recap-style summaries of what happened in a period. Output fields match remem raw sessions --json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Only sessions with messages at or after this time (Unix epoch, ISO8601 datetime, or YYYY-MM-DD) | |
| until | No | Only sessions with messages at or before this time (Unix epoch, ISO8601 datetime, or YYYY-MM-DD; a date includes that full UTC day) | |
| latest | No | Return only the newest N sessions | |
| sample | No | Sample up to N role=user message texts per session, ascending by time (default 0 = no samples) | |
| project | No | Project name filter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| latest | No | ||
| sample | Yes | ||
| project | No | ||
| sessions | Yes | ||
| since_epoch | No | ||
| until_epoch | No | ||
| excluded_legacy_rows | Yes | ||
| excluded_legacy_sessions | Yes | ||
| excluded_legacy_identities | Yes |