session {
   sessionID: String! 
}: Session

Retrieve a session

Permissions needed

select (sessions):

  • id
  • assistant_id
  • session_id
  • user_id

Arguments

sessionID
String!
required

ID of the session to retrieve

Response

Type: Session

sessionID
String!

ID of the session

assistantID
String!

ID of the assistant used in this session

userID
uuid!

ID of the user who started this session

createdAt
timestampz!

Messages in this session