curl --request GET \ --url 'https://api.yourdomain.com/api/chats?limit=20&offset=0' \ --header 'Authorization: Bearer <token>'
{ "success": true, "chats": [ { "id": "chat_123abc", "name": "Project Discussion", "createdAt": "2024-01-15T10:30:00Z", "updatedAt": "2024-01-15T14:20:00Z" } ], "nextOffset": 20, "hasMore": false, "total": 15, "message": "Chats retrieved successfully" }
Retrieves all chats for the authenticated user with pagination