Skip to main content
Use a human checkpoint for approvals, authentication, payments, or review. Get its live_view_url with the SDK’s event-wait helper, which follows event cursors and also returns browser.reattached when a follow-up reused the open browser. Wait for the run to stop at the checkpoint before letting a person interact:
The first run ends and the browser stays open for up to keepAlive 900 seconds. A human uses the live_view_url in that browser, then a follow-up run with the same session_id continues on the same page. The first run ends and the browser stays open for up to keepAlive 900 seconds. A human uses the live_view_url in that browser, then a follow-up run with the same session_id continues on the same page. The same session keeps the conversation and workspace. Without keepAlive, its browser stops about 2 minutes after the run ends, and the follow-up starts on a fresh browser without the human’s page state. A keepAlive of 900 keeps it open for 15 minutes; the follow-up inherits the value, and kept time is billed. The typed keep_alive / keepAlive needs SDK 3.12+; see Sessions for 3.11.3. In a web app, replace the terminal prompt with an explicit Continue control. Treat live-view URLs as credentials.