List messages
GET {{baseUrl}}/threads/:thread_id/messages
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
OpenAI-Beta | string |
RESPONSES
status: OK
{"object":"list","data":[{"id":"msg_3Rx2b81ihGZpHCjP8OS2qjnt","object":"thread.message","created_at":1725129855,"assistant_id":"asst_j7jtOAHo7kF44B7ntwOlEniB","thread_id":"thread_vPNjou4WmNMkhdNuswnAKJRT","run_id":"run_FI7a7YnxYPnCRdccomlJrCjj","role":"assistant","content":[{"type":"text","text":{"value":"Of course, Jane Doe. Let's solve the equation \\( 3x + 11 = 14 \\) step by step.\n\n1. Subtract 11 from both sides of the equation:\n \\[\n 3x + 11 - 11 = 14 - 11\n \\]\n Simplifying, we get:\n \\[\n 3x = 3\n \\]\n \n2. Divide both sides by 3:\n \\[\n \\frac{3x}{3} = \\frac{3}{3}\n \\]\n Simplifying, we get:\n \\[\n x = 1\n \\]\n\nSo, the solution to the equation \\( 3x + 11 = 14 \\) is \\( x = 1 \\).","annotations":[]}}],"attachments":[],"metadata":{}},{"id":"msg_3edgnV5q3yOdkqAPN76mQZsc","object":"thread.message","created_at":1725129715,"assistant_id":null,"thread_id":"thread_vPNjou4WmNMkhdNuswnAKJRT","run_id":null,"role":"user","content":[{"type":"text","text":{"value":"I need to solve the equation `3x + 11 = 14`. Can you help me?","annotations":[]}}],"attachments":[],"metadata":{}}],"first_id":"msg_3Rx2b81ihGZpHCjP8OS2qjnt","last_id":"msg_3edgnV5q3yOdkqAPN76mQZsc","has_more":false}