GET Conversation Messages
Description
Retrieves all messages for a specific conversation
Endpoint
GET /conversations/{conversation_id}/messages
Parameters
Name
Type
Description
conversation_id
string or integer
The unique identifier of the conversation
Sample cURL Request
curl -X GET "https://api.example.com/conversations/123456/messages" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Sample response
[
{
"status": null,
"agent_id": 172,
"created_at": "2024-09-09T08:14:38.483909+00:00",
"updated_at": "2024-09-09T08:14:38.483902+00:00",
"id": 5703,
"message": "How does the user assign a gain value to each acquisition in newer versions of RTVision.3d?",
"meta_data": {},
"parent_message_id": null,
"role": "user",
"type": "message",
"user_id": 1,
"user": {
...user_info
},
"citations": [],
"messages_feedbacks": [],
"improvements": []
},
{
"status": null,
"agent_id": 172,
"created_at": "2024-09-09T08:14:38.526688+00:00",
"updated_at": "2024-09-09T08:14:38.537884+00:00",
"id": 5704,
"message": "In newer versions of RTVision.3d (version 4.1 and newer), the user must assign a gain value to each acquisition to specify the brightness of the laser line image individually. Here are the steps to do this:\n\n1. **Start the Acquisition Manager**:\n - Left-click on the \"Acquisition Manager\" button located on the top bar.\n\n2. **Assign a Gain Value**:\n - In the Acquisition Manager, click on the \"+\" symbol to add a new acquisition.\n - Assign a gain value to the newly created Acquisition ID.\n\n3. **Optional Description**:\n - You can add a description to the Acquisition ID by right-clicking on the created acquisition.\n\nThese steps allow the user to manage the brightness settings for each acquisition individually, ensuring optimal image quality for different inspection tasks.",
"meta_data": { "query": "", "is_run_ooda": false },
"parent_message_id": 5703,
"role": "bot",
"type": "message",
"user_id": 1,
"citations": [
{
"type": "pdf",
"page_index": "6",
"file_path": "/aiMO-workers/tmp/3e7161ea-bdef-41dc-9042-d546dc1653e2/RTVision 3D - Quick Guide-pages-5.pdf",
"source": "RTVision 3D - Quick Guide-pages-5.pdf",
"image_src": null
},
{
"type": "pdf",
"page_index": "8",
"file_path": "/aiMO-workers/tmp/3e7161ea-bdef-41dc-9042-d546dc1653e2/RTVision 3D - Quick Guide-pages-5.pdf",
"source": "RTVision 3D - Quick Guide-pages-5.pdf",
"image_src": null
},
{
"type": "pdf",
"page_index": "7",
"file_path": "/aiMO-workers/tmp/3e7161ea-bdef-41dc-9042-d546dc1653e2/RTVision 3D - Quick Guide-pages-5.pdf",
"source": "RTVision 3D - Quick Guide-pages-5.pdf",
"image_src": null
}
],
"messages_feedbacks": [],
"improvements": []
}
]
Last updated