Get session messages
Retrieve all messages in a session, including user prompts and AI responses.
Path parameters
Session ID
Query parameters
Response
List of messages
Changes
Changed in 13 of the 102 revisions of this API.1015
- ○
added the optional property
items/info/anyOf[AssistantMessage]/stuckAbortedto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/info/anyOf[AssistantMessage]/stuckNudgedto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
items/info/anyOf[AssistantMessage]/stepCappedto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
items/info/anyOf[UserMessage]/excludeHistoryto the response with the200statusresponse-optional-property-added
- ○
- ●
removed the optional property
items/info/anyOf[UserMessage]/excludeHistoryfrom the response with the200statusresponse-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
items/info/anyOf[UserMessage]/excludeHistoryto the response with the200statusresponse-optional-property-added
- ○
- ●
removed the optional property
items/info/anyOf[UserMessage]/excludeHistoryfrom the response with the200statusresponse-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
items/info/anyOf[UserMessage]/excludeHistoryto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
items/info/anyOf[AssistantMessage]/structuredto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/info/anyOf[UserMessage]/formatto the response with the200statusresponse-optional-property-added
- ○
added
StructuredOutputErrorto theitems/info/anyOf[AssistantMessage]/errorresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
- ○
added the optional property
items/info/anyOf[AssistantMessage]/tokens/totalto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/parts/items/anyOf[StepFinishPart]/tokens/totalto the response with the200statusresponse-optional-property-added
- ○
- ○
added
ContextOverflowErrorto theitems/info/anyOf[AssistantMessage]/errorresponse propertyanyOflist for the response status200response-property-any-of-added
- ○