Get chat messages
Changed onGet the messages in a stored chat completion. Only Chat Completions that have been created with the store parameter set to true will be returned.
Request
- Base URLhttps://api.openai.com/v1
- URLhttps://api.openai.com/v1/chat/completions/{completion_id}/messages
- AuthHTTP bearer
Path parameters
The ID of the chat completion to retrieve messages from.
Query parameters
Identifier for the last message from the previous pagination request.
Number of messages to retrieve.
Sort order for messages by timestamp. Use asc for ascending order or desc for descending order. Defaults to asc.
Response
A list of messages
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the
/response's property type changed from no type toobjectfor status - info
added the optional property
//to the response with the status - info
removed
subschema #2from the/response propertyallOflist for the response status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- breaking