Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
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
.
asc
, desc
Response
A list of messages
An object representing a list of chat completion messages.
The type of this object. It is always set to "list".
list
An array of chat completion message objects.
The identifier of the first chat message in the data array.
The identifier of the last chat message in the data array.
Indicates whether there are more chat messages available.