Toggle Todo
Workspace
Toggle Todo
Toggle a todo item between done and not-done.
Args: user: Authenticated owner. thread_id: Target conversation. todo_id: Primary key of the todo to toggle. db: Database session.
Returns:
The updated TodoSchema with the flipped done flag.
Raises:
HTTPException 404: If no todo with todo_id exists.
POST
Toggle Todo
Authorizations
A personal access token (haico_pat_...), created under Profile → API keys. Send it as Authorization: Bearer <key>. The browser session JWT is also accepted but is an internal mechanism and is not part of the public contract.
Path Parameters
Minimum string length:
1Required range:
x >= 1