GET api/agents/history/{sessionId}
Get Agents History by Session ID
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
sessionId | string |
Required |
Body Parameters
None.
Response Information
Name | Description | Type | Additional information |
---|---|---|---|
MessageId |
ID |
string |
None. |
MessageType |
Message Type |
string |
None. |
MessageContent |
Message Content |
string |
None. |
SessionId |
Session ID |
string |
None. |
TopicId |
Topic ID |
integer |
None. |
AgentId |
Agent ID |
integer |
None. |
CreatedAt |
Created At |
date |
None. |
IsFinal |
Is Final |
boolean |
None. |
IsSuccess |
Is Success |
boolean |
None. |
Recommendations |
Recommendations |
Collection of Recommendation |
None. |
Response Formats
application/json, text/json
Sample:
[ { "messageId": "sample string 1", "messageType": "sample string 2", "messageContent": "sample string 3", "sessionId": "sample string 4", "topicId": 5, "agentId": 6, "createdAt": "2025-02-21T03:13:39.5579154+01:00", "isFinal": true, "isSuccess": true, "recommendations": [ { "dealId": 1, "supplierId": 2, "discountId": 3 }, { "dealId": 1, "supplierId": 2, "discountId": 3 } ] }, { "messageId": "sample string 1", "messageType": "sample string 2", "messageContent": "sample string 3", "sessionId": "sample string 4", "topicId": 5, "agentId": 6, "createdAt": "2025-02-21T03:13:39.5579154+01:00", "isFinal": true, "isSuccess": true, "recommendations": [ { "dealId": 1, "supplierId": 2, "discountId": 3 }, { "dealId": 1, "supplierId": 2, "discountId": 3 } ] } ]