Inference
List chat completion messages.
Get the messages in a stored chat completion.
get/v1/chat/completions/{completion_id}/messages
Path parameters
completion_idstring required
The ID of the chat completion to retrieve messages from.
The ID of the chat completion to retrieve messages from.
Query parameters
afterstring nullable
Identifier for the last message from the previous pagination request.
Identifier for the last message from the previous pagination request.
limitinteger nullable
Number of messages to retrieve.
Number of messages to retrieve.
order'asc' | 'desc'
Sort order for paginated responses.
Sort order for messages by timestamp. Use "asc" or "desc". Defaults to "asc".
Response
A ChatCompletionMessageList.