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