curl --request GET \
--url https://api.example.com/chats/{chat_id}/messages \
--header 'Authorization: Bearer <token>'{
"results": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"chat_id": "<string>",
"chat_role": "<string>",
"message": "<string>",
"code_mapping_id": "<string>",
"tools": [
{
"id": "<string>",
"name": "<string>",
"args": {},
"is_pending_approval": false
}
],
"analysis_node_id": "<string>"
}
]
}retrieve the messages of a chat thread
curl --request GET \
--url https://api.example.com/chats/{chat_id}/messages \
--header 'Authorization: Bearer <token>'{
"results": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"chat_id": "<string>",
"chat_role": "<string>",
"message": "<string>",
"code_mapping_id": "<string>",
"tools": [
{
"id": "<string>",
"name": "<string>",
"args": {},
"is_pending_approval": false
}
],
"analysis_node_id": "<string>"
}
]
}