chat

List the messages of a stored chat completion

List the request messages a stored completion was created with.

A stored completion keeps the full conversation it was asked with, so the latest completion of a conversation reconstructs the entire history; the completion's own answer is its choice message, not part of this list.

get/v1/chat/completions/{completion_id}/messages

Path parameters

completion_idstring required

ID of the chat completion

ID of the chat completion

Response

The stored request messages, oldest first

object'list'
has_moreboolean