curl --location --request GET 'http://prod-cn.your-api-server.com/consoleapi/v1/conversations/ffad4ee6-7f36-4c16-b1a0-ebe6126b0715/messages' \
--header 'Authorization: Bearer ak_2e52e4e2de63b8f8015213f56974e2bd' \
--header 'Authorization: Bearer {{token}}'{
"code": 0,
"message": "string",
"data": {
"items": [
{
"id": "string",
"conversationId": "string",
"agentId": "string",
"userId": null,
"anonymousIdentifier": "string",
"role": "string",
"content": "string",
"messageType": "string",
"tokens": {
"total_tokens": 0,
"prompt_tokens": 0,
"completion_tokens": 0
},
"rawResponse": {
"id": "string",
"model": "string",
"usage": {
"total_tokens": 0,
"prompt_tokens": 0,
"completion_tokens": 0
},
"object": "string",
"choices": [
{
"index": 0,
"message": {
"role": "string",
"content": "string"
},
"finish_reason": "string"
}
],
"created": 0
},
"formVariables": null,
"formFieldsInputs": {
"b": "string",
"c": "string"
},
"metadata": {
"context": [
{
"role": "string",
"content": "string"
}
],
"references": [
{
"chunks": [
{
"id": "string",
"score": 0,
"content": "string",
"fileName": "string",
"metadata": {
"fileId": "string",
"fileUrl": "string",
"fileName": "string",
"filePath": "string",
"fileSize": "string",
"fileType": "string",
"mimeType": "string",
"extension": "string",
"storageName": "string"
},
"chunkIndex": 0,
"documentId": "string",
"contentLength": 0
}
],
"duration": 0,
"datasetId": "string",
"datasetName": "string",
"userContent": "string",
"retrievalMode": "string"
}
],
"suggestions": [
null
]
},
"createdAt": "string"
}
],
"total": 0,
"page": 0,
"pageSize": 0,
"totalPages": 0
},
"timestamp": 0
}