curl --location -g --request GET 'http://dev-cn.your-api-server.com/v1/threads/messages/retrieve?GroupId=${GroupId}' \
--header 'Authorization: Bearer ${API_KEY}' \
--header 'Content-Type: application/json' \
--data-raw '{
"thread_id": "$Thread_Id",
"message_id": "$Message_Id"
}'
{
"id": "msg_abc123",
"object": "message",
"created_at": 1703230218,
"thread_id": "thread_abc123",
"role": "user",
"content": [
{
"type": "text",
"text": {
"value": "明天北京天气怎么样?",
"annotations": []
}
}
],
"file_ids": null,
"assistant_id": "asst_abc123",
"run_id": "run_abc123",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"base_resp": {
"status_code": 0,
"status_msg": "success"
}
}