sessionMessages {
   sessionID: String! 
}: MessageResponse

Retrieve all messages for a session

Permissions needed

select (sessions):

  • id
  • assistant_id
  • session_id
  • user_id

Arguments

sessionID
String!
required

ID of the session to retrieve messages for

Response

Type: MessageResponse

sessionID
String!

ID of the session

messages
[Message!]!

Messages in this session