Skip to main content
Send a shareable link so someone can demonstrate a task in a live browser. Anchor captures every event and compiles it into deterministic, repeatable code with an AI fallback — the same outcome as creating a task from a demonstration in the UI. Use this when the person who knows the flow isn’t at the keyboard in your Anchor workspace.

How it works

  1. Create a demonstration session via API — you get back a share_url
  2. Send the link to the person who will demonstrate the task
  3. They open it, see a live browser, and perform the task
  4. They click Finish Demonstration — the demonstration is submitted
  5. Anchor compiles the captured events into a task
  6. Poll the status endpoint until it reaches completed — you get task_id and tool_id

API Endpoints

Create a demonstration

Request body: Response:
The share_url is a signed JWT link valid for 1 hour. The customer does not need an Anchor account — the token contains the session and team context.

Get demonstration status

Poll this endpoint to track progress after the demonstration is submitted.
Response:
Status values:

Complete demonstration

Called automatically when the user clicks Finish Demonstration. Can also be called programmatically via POST .../recording/complete.
Response:
This endpoint:
  1. Ends the browser session and uploads the captured events
  2. Waits for demonstration artifacts to be stored
  3. Submits them for task generation
  4. Returns immediately with status: "processing"

Stop demonstration

Stop a demonstration without generating a task. Useful for cleanup.
Response:

End-to-end example

Identity pre-authentication

Pass an identity_id to pre-authenticate the browser before the link is opened. The user will see the target application already logged in and can start the demonstration immediately.
If identity authentication fails (expired credentials, site unreachable), the session still starts — the user can log in manually during the demonstration. Set identity_skip_validation: true (default) to ensure this behavior.

Share URL and the demonstration UI

The share_url opens a full-screen demonstration interface with:
  • Live browser — interact with the actual website
  • Live Browser Events panel — clicks, typing, and navigation as they happen
  • Finish Demonstration — submits the demonstration and starts task generation
When the user finishes, they see a confirmation screen. If the share URL was opened as a popup (via window.open), the parent window receives a demonstration-complete postMessage with the task_id, task_version_id, and tool_id.

Session configuration

Override default session settings:
Default demonstration timeouts are max_duration: 30 minutes and idle_timeout: 30 minutes.