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}

Request

  • Base URL: http://127.0.0.1:8052
  • URL: http://127.0.0.1:8052/api/v1/handoff/{token}
  • Auth: none declared

Path parameters

tokenstring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.