Get message

Retrieve a specific message from a session by its message ID.

get/session/{sessionID}/message/{messageID}

Path parameters

sessionIDstring required

Session ID

messageIDstring required

Message ID

Query parameters

directorystring

Response

Message

Changes

Changed in 13 of the 102 revisions of this API.1015

    • added the optional property info/anyOf[AssistantMessage]/stuckAborted to the response with the 200 status

      response-optional-property-added

    • added the optional property info/anyOf[AssistantMessage]/stuckNudged to the response with the 200 status

      response-optional-property-added

    • added the optional property info/anyOf[AssistantMessage]/stepCapped to the response with the 200 status

      response-optional-property-added

    • added the optional property info/anyOf[UserMessage]/excludeHistory to the response with the 200 status

      response-optional-property-added

    • removed the optional property info/anyOf[UserMessage]/excludeHistory from the response with the 200 status

      response-optional-property-removed

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

    • added the optional property info/anyOf[UserMessage]/excludeHistory to the response with the 200 status

      response-optional-property-added

    • removed the optional property info/anyOf[UserMessage]/excludeHistory from the response with the 200 status

      response-optional-property-removed

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

    • added the optional property info/anyOf[UserMessage]/excludeHistory to the response with the 200 status

      response-optional-property-added

    • added the optional property info/anyOf[AssistantMessage]/structured to the response with the 200 status

      response-optional-property-added

    • added the optional property info/anyOf[UserMessage]/format to the response with the 200 status

      response-optional-property-added

    • added StructuredOutputError to the info/anyOf[AssistantMessage]/error response property anyOf list for the response status 200

      response-property-any-of-added

    • added the optional property info/anyOf[AssistantMessage]/tokens/total to the response with the 200 status

      response-optional-property-added

    • added the optional property parts/items/anyOf[StepFinishPart]/tokens/total to the response with the 200 status

      response-optional-property-added

    • added ContextOverflowError to the info/anyOf[AssistantMessage]/error response property anyOf list for the response status 200

      response-property-any-of-added