Assistant
Get Assistant Sessions
Get chat session metadata from a specific user.
get/api/assistant/admin/{userId}/sessions
Path parameters
userIdstring required
ID of the user to retrieve sessions from
Response
List of previous conversation sessions
Example response
[
{
"createTime": "2024-11-14T15:03:22Z",
"deleteTime": "2025-09-05T15:33:00.000Z",
"entityId": "WKhCuTw4GPvrQA-9ksmn",
"id": "PdFc-JIBLkNJ8-bDfz47",
"kind": "case",
"operation": "create",
"sessionId": "chat_1757086398900_ykhmndscn",
"tags": [
"investigation"
],
"title": "Can you write a suricata rule for me?",
"type": "alert_investigation",
"updateTime": "2024-11-14T15:33:02Z",
"usage": {
"totalCredits": 5,
"totalInputTokens": 1500,
"totalMessages": 25,
"totalOutputTokens": 3000
},
"userId": "socl_my_new_client"
}
]