Reorder Todos
Persist a new display order for the todo list.
Accepts an ordered list of todo ids and updates each item’s position
value so the list is returned in the requested order on subsequent fetches.
Only todos that belong to thread_id are affected; unknown ids are
silently ignored.
Args: payload: Ordered list of todo ids (new order). user: Authenticated owner. thread_id: Target conversation. db: Database session.
Returns:
The reordered list of TodoSchema objects.
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
1Body
Payload for the reorder endpoints — an ordered list of item ids.