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/api/v1/handoff/{token}
Path parameters
tokenstring required
Response
Successful Response
{"stackTrail":"paths:/api/v1/handoff/{token}:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
Changed in 1 of the 16 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○