v6

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01485121699.8 KB

Claim Handoff Token

Claim a handoff token and return the session identity + tail.

Args: token: Opaque urlsafe token presented by the dashboard. request: FastAPI request (used to resolve the workdir).

Returns: JSON envelope with session_id, task_id, source_surface, claimed_at, note and tail (a list of recent stream entries).

Raises: HTTPException: 404 for unknown tokens, 410 for expired or already-claimed tokens.

get/handoff/{token}

Path parameters

tokenstring required

Response

Successful Response

{"stackTrail":"paths:/handoff/{token}:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}