session_export
Export a browser session's recorded actions as a runnable bash script, raw JSONL log, or editable flow.json for replay or inspection.
Instructions
Export a browser session's recorded action log. Format "bash" (default) returns a runnable curl script that replays every recorded action (navigate/click/input/scroll/eval) against a fresh session on this server — hand it to a shell or cron, zero model tokens. Format "jsonl" returns the raw action log, one JSON object per line. Format "json" returns a flow.json document — the same recording as editable ops ({op, args}) with cookies/storage stripped — that flow_run replays server-side.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format: "bash" (default) renders a runnable curl script that replays every recorded action against a fresh session; "jsonl" returns the raw action log, one JSON object per line; "json" returns a flow.json document (editable ops, cookies/storage stripped) for replay via flow_run | |
| session_id | Yes | Session ID |