curl --location --request GET '/v1/chat/sessions?limit&offset' \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": [
{
"id": 0,
"user_id": 0,
"title": "string",
"model": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"is_active": true,
"messages": [
{
"id": 0,
"session_id": 0,
"role": "string",
"content": "string",
"model": "string",
"tokens": 0,
"created_at": "2019-08-24T14:15:22Z"
}
]
}
],
"count": 0,
"message": "string"
}