chat_id. This keeps related tool calls and results organized for browsing and download.
Create a chat
POST /api/v1/chats
Create a new chat conversation.
Request body
Optional title. Defaults to
"New Conversation".Response
UUID of the new chat.
UUID of the owning user.
Chat title.
Message history. Empty on creation.
ISO 8601 creation timestamp.
ISO 8601 last-updated timestamp.
cURL
Response
List chats
GET /api/v1/chats
Return a paginated list of your chat conversations (excluding deleted ones).
Query parameters
Number of chats to return. Default
50, maximum 100.Pagination offset. Default
0.Sort field:
updated_at (default) or created_at.Sort direction:
desc (default) or asc.Response
List of lightweight chat items.
Total number of non-deleted chats.
Limit applied.
Offset applied.
cURL
Get a chat
GET /api/v1/chats/{chat_id}
Return a single chat with its full message array.
UUID of the chat.
ChatPublic object including messages.
cURL
Update a chat
PUT /api/v1/chats/{chat_id}
Update the chat title or replace the messages array.
UUID of the chat.
Request body
New title. Maximum 255 characters.
Replacement messages array.
ChatPublic object.
cURL
Delete a chat
DELETE /api/v1/chats/{chat_id}
Soft-delete a chat. The chat is hidden from list views but the data is retained. Returns 204 No Content.
UUID of the chat to delete.
cURL