AIChatGetConversations¶
GET ai/chat/conversations
Conversations of the current session, newest first. A manager sees their own; a client sees the ones of the account in the session.
Access Control¶
Allowed: client, manager, admin.
Request¶
GET request
GET https://{broker_domain}/ai/chat/conversations?limit=20
Authorization: <JWT_TOKEN>
{
"command": "AIChatGetConversations",
"extID": "1",
"data": { "limit": 20 }
}
const list = await platform.AIChatGetConversations({ limit: 20 });
Parameters¶
| Parameter | Type | Description |
|---|---|---|
archived |
bool | Optional. true returns archived conversations instead of active ones |
limit |
int | 1 to 200, default 50 |
offset |
int | Rows to skip |
accountLogin |
int | Account context. Required for a client session of an account owner |
Response Data¶
{
"rows": [
{
"id": "cnv_8f3a…",
"brand": "Ion",
"agentId": 1,
"title": "Margin call on 2000067",
"accountLogin": 0,
"archived": false,
"createdAt": "2026-09-17 10:12:04",
"updatedAt": "2026-09-17 10:12:40"
}
],
"count": 12
}
Errors¶
| Code | Error | Description |
|---|---|---|
400 |
AI_INVALID_DATA |
A client session of an account owner did not pass accountLogin |
403 |
AI_ACCESS_DENIED |
The session type may not use the assistant |