Get user actions
get_user_actionsRetrieve the time-ordered user action timeline from a captured bundle, with flexible filtering and source options.
Instructions
Return the full time-ordered user-action timeline (never just the last action — that lives on stateAtCapture.lastUserAction / bundle_overview). DEFAULT types are the story timeline: click, submit, navigate, toggle, select (plus dblclick/contextmenu/page_load) — NOT raw text inputs. Pass types:["input"] explicitly to see keystroke commits. source "auto" (default) uses semantics.userActions only when that list is genuinely populated (≥3 story actions, or the bundle has type:"action" events); otherwise reconstructs from rrweb so today's thin-semantics bundles still get the full ~20-row story. Explicit source "semantics" / "rrweb" force one path. Response includes actionsSource: "semantics" | "rrweb". Each action includes an rrweb window { fromTs, toTs, anchorId } for get_action_replay. Default limit 50.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Default 50. | |
| types | No | Filter to these kinds. Default (story view): click, dblclick, contextmenu, submit, navigate, page_load, toggle, select. Text inputs are excluded unless you pass types:["input"]. Scroll / mousedown / focus need an explicit types request on the rrweb path. | |
| offset | No | Default 0. | |
| source | No | Action source: "auto" (default — rich semantics.userActions when available, else full rrweb timeline), "semantics" (force pre-computed list), or "rrweb" (force replay derivation). Never returns only lastUserAction. | |
| bundleId | No | Bundle handle from load_bundle. Optional when exactly one bundle is loaded. |