v2
chat
chat
List Session Groups
Changed onList the user's chats grouped by expert, for the sidebar.
Every group, Otto's own (expert_id null) included, carries its real chat count and at least its min_per_group newest chats; the newest of the rest fill the list up to limit, so the groups in use show more. The most recently active group comes first. Page further into a group with GET /sessions and expert_id, or autopilot_only for Otto's.
get/api/chat/session-groups
Request
- The document declares no server URL.
- AuthHTTP bearer
Query parameters
min_per_groupinteger
The newest chats every group lists, however old.
limitinteger
Chats to list in all: the newest beyond each group's minimum fill up to this. The minimums alone can pass it.
pinned_separatelyboolean
Return pinned chats in pinned and leave them out of the groups and their totals.
Response
Successful Response
Changes
- info
endpoint added
- info