404 CHAT_NOT_FOUND.
Create
POST /api/v1/chats returns 201. This is optional. To send a first message in one call, use POST /api/v1/completions and omit chatId.
string
Optional. 1–120 characters. Omitted titles get a default.
List
GET /api/v1/chats
integer
default:"20"
Page size, 1–50.
string
Pass
nextCursor from the previous page.string
Title search.
string
true or false.GET /api/v1/chats/{chatId} returns one chat object.
Delete
DELETE /api/v1/chats/{chatId} returns 204. The row is soft-deleted. A repeat delete of someone else’s chat is 404.