Skip to content

Watch a session without signing in

Mint a login-free watch link for a running session: read-only by default, valid up to an hour, with the ticket in the URL fragment so it never reaches a log.

Last updated:

POST /v1/sessions/:id/watch-link

Mints a watch link for a session you own. Requires a configured public base URL (`watch` in `GET /v1/me` features).

Body

Name Type Description
ttlSeconds integer How long the link opens the viewer, 60 to 3600. Default 3600.
allowTakeover boolean Default `false`: the viewer can watch and nothing else. `true` lets the holder request the write lease, exactly as an owner in the dashboard would. The MCP tool never sets this.

Response

Name Type Description
url string `{base}/watch/{sessionId}#w=<ticket>`. Share it as a whole; the fragment is the credential.
expiresAt timestamp When the ticket stops opening the viewer. The session’s own lifetime is separate.
readOnly boolean What the link permits.

Warning · A link is a credential

Anyone holding the URL can watch the session until `expiresAt`, and drive it if you allowed takeover. Send it to the person who needs it, over a channel you trust, and keep the TTL as short as the hand-off needs.