Seguros APIseguros-api reference
List user sessions with pagination, filtering, and search
Authorization
bearer AuthorizationBearer <token>
In: header
Query Parameters
limit?string
offset?string
status?string
Value in
"active" | "archived" | "closed"search?string
Search sessions by title
Response Body
application/json
curl -X GET "https://example.com/api/chat-sessions"{
"sessions": [
{
"id": "uuid-v4",
"userId": "uuid-v4",
"title": "Análise de vendas Q4",
"description": "Revisão de vendedores",
"status": "active",
"messageCount": 5,
"createdAt": "2025-10-21T14:00:00Z",
"updatedAt": "2025-10-21T14:25:00Z",
"lastActivityAt": "2025-10-21T14:25:00Z",
"preview": "Mostre top 10 vendedores..."
}
],
"total": 15,
"limit": 50,
"offset": 0
}