docs(api-reference): update GET /api/chats response shape
Merged
AR
5mo ago+24+24+01234567890123456789-14-14-01234567890123456789
Updates the openapi spec for GET /api/chats. The response now carries id, title, accountId, sessionId, and updatedAt per row; the ChatRoom schema is modified in place rather than introducing a parallel one.
ChatRoombecomes{ id, title, accountId, sessionId, updatedAt }(camelCase, all required).GET /api/chatsoperation description,sessionIdfield, andartist_account_idparameter use product-facing language.artist_account_idstays a first-class filter; description notes the parameter is currently inert.
POST /api/chats and PATCH /api/chats/{id} still reference ChatRoom and will be misaligned with their actual response shape until they're removed in a follow-up cleanup PR.
Test plan
- Mintlify preview renders the updated
GET /api/chatspage with the new fields and copy.