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

Changes

Changed in 4 of the 30 revisions of this API.714

  • 824e59bfac1e711See the full diff
    • ▲

      added to the //// response property oneOf list for the response status

      response-property-one-of-added

    • ▲

      the //// response's property type changed from object to no type for status

      response-property-type-changed

    • ▲

      removed the required property ///// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ///// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ///// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ///// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ///// from the response with the status

      response-required-property-removed

    • ●

      removed the optional property ///// from the response with the status

      response-optional-property-removed

    • ○

      added discriminator to //// response property for the response status

      response-property-discriminator-added

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ○

      endpoint added

      endpoint-added

    This revision also has 35 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog