Share links: Create a watch link, Turn off watch links, List share links, Create a share link, Turn off a share link.
Create a watch link
POST/api/v1/runs/{runId}/watch-link
A view-only link to watch a run live and read its result, with no sign-in, valid while it runs and for some hours after. Runs started here get one automatically; this makes another, or one for a run started from the web app. The link shows the live screen, the steps and checks so far, then the read-only result. membersOnly is true when the workspace limits watch links to signed-in members (or the run came from a public repository). 403 when the workspace turned watch links off.
MCP tool: create_watch_link. MCP OAuth: testsy:run or a higher scope. API keys: run or write access.
Path
runIdstringrequired
Run id (j_…)
Returns201 { id, url, membersOnly, afterHours }
Request
curl -X POST https://app.testsy.dev/api/v1/runs/j_mvg1/watch-link \
-H "Authorization: Bearer $TESTSY_AI_API_KEY"
Turn off watch links
DELETE/api/v1/runs/{runId}/watch-link
Turn off every watch link of a run straight away.
MCP tool: revoke_watch_link. MCP OAuth: testsy:run or a higher scope. API keys: run or write access.