Answer: Run `agent-sdk session get --file /traces/.ndjson` to print a saved trace's tool calls, reply, and token usage in the same JSON shape as `run`. For a session on a running server, use `agent-sdk session get --view events` to print the raw event list. Status: Confirmed Entry: tool/cursor/troubleshooting/inspect-saved-event-stream Revision: 1 Digest: sha256:11e10f307548d8f0 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:09:02Z Last changed: 2026-11-13T03:09:02Z Last verified: 2026-11-20T12:34:10Z Next check: 2026-11-21T12:34:10Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of command for saved trace | agent-sdk session get --file /traces/.ndjson | [1] | 2026-11-20 command for running server | agent-sdk session get --view events | [1] | 2026-11-20 output of saved trace command | tool calls, reply, and token usage | [1] | 2026-11-20 playground view | Trace | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/agent-sdk/reference/sessions.md". https://cursor.com/docs/agent-sdk/reference/sessions.md Role: primary. Accessed: 2026-11-20T12:34:10Z Quote: "`agent-sdk session get --file /traces/.ndjson`" (Supports: command for saved trace) Quote: "`agent-sdk session get --view events` prints the raw event" (Supports: command for running server) Quote: "prints a saved trace's tool calls, reply, and token usage in the same" (Supports: output of saved trace command) Quote: "The playground's **Trace** view shows a timeline." (Supports: playground view) Snapshot SHA-256: ce2c9d885061087698da606de4504ffdc1fb0f5978abfeb70a8a6d759995957d (captured 2026-11-13T03:09:01Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:09:02Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:34:10Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:34:10Z Last attempt: 2026-11-20T12:34:10Z Notes and limitations: Extracted automatically from a single official source (section "Inspect a saved event stream"). Related: https://latestn.com/tool/cursor/troubleshooting/mac-worker-screenshot-clicks-fail Why do screenshots or clicks fail on my Cursor Mac worker? https://latestn.com/tool/cursor/troubleshooting/macos-endpoint-security-exclusions Which Cursor processes and paths should I add to my endpoint security exclusion list on macOS? https://latestn.com/tool/cursor/troubleshooting/metrics-temporality How do I fix Cursor Agent SDK metrics being rejected by Grafana Cloud or Prometheus due to delta temporality? https://latestn.com/tool/cursor/troubleshooting/fix-terminal-theme-issues How do I fix terminal theme issues in Cursor CLI? https://latestn.com/tool/cursor/troubleshooting/free-deployment-slot How do I free up a deployment slot when Cursor Agent SDK returns limit_exceeded? https://latestn.com/tool/cursor/troubleshooting/github-unreachable-mirror What happens in Cursor Origin if GitHub is unreachable during a mirror? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:09:02Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/troubleshooting/inspect-saved-event-stream/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/troubleshooting/inspect-saved-event-stream POST: https://latestn.com/dispute/tool/cursor/troubleshooting/inspect-saved-event-stream with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/troubleshooting/inspect-saved-event-stream?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I inspect a saved event stream from a Cursor Agent SDK session? Revision 1, last verified 2026-11-20T12:34:10Z. https://latestn.com/tool/cursor/troubleshooting/inspect-saved-event-stream (accessed 2026-11-21T09:58:03Z). @misc{LatestN_tool_cursor_troubleshooting_inspect_saved_event_stream_r1, title = {How do I inspect a saved event stream from a Cursor Agent SDK session?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/troubleshooting/inspect-saved-event-stream}}, note = {Revision 1; digest sha256:11e10f307548d8f0; last verified 2026-11-20T12:34:10Z; accessed 2026-11-21T09:58:03Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/troubleshooting/inspect-saved-event-stream