Queries the chat records of a specified session.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SessionId |
string |
Yes |
The session ID. |
1e28530a0da2c4755f165b1b8b9a73c9 |
| Source |
string |
No |
The product source. Valid value: polardb-console. |
polardb-console |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
A7E6A8FD-C50B-46B2-BA85-D8B8D3****** |
| Data |
array<object> |
The result set. |
|
|
object |
The result set. |
||
| SessionId |
string |
The session ID. |
44dcdf31-04cd-4a44-9bae-834dd6657e29 |
| QueryId |
string |
The query ID. |
sq202506261002hz8b24fe80067683 |
| Query |
string |
The session query. Obtain this value from the response of the API call to start a digital human. |
xxx |
| Answer |
string |
The answer. |
xxx |
| FeedbackType |
string |
The feedback type. |
0 |
Examples
Success response
JSON format
{
"RequestId": "A7E6A8FD-C50B-46B2-BA85-D8B8D3******",
"Data": [
{
"SessionId": "44dcdf31-04cd-4a44-9bae-834dd6657e29",
"QueryId": "sq202506261002hz8b24fe80067683",
"Query": "xxx",
"Answer": "xxx",
"FeedbackType": "0"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.