session
session { sessionID: String!}: SessionRetrieve a session
Permissions needed
Section titled “Permissions needed”select (sessions):
- id
- assistant_id
- session_id
- user_id
Arguments
Section titled “Arguments”sessionID(String!): ID of the session to retrieve
Response
Section titled “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
Request Example:
query session ( $sessionID: String!) { graphite { session ( sessionID: $sessionID ) { sessionID assistantID userID createdAt } }}{ "sessionID": "string"}Response Example:
{ "data": { "graphite": { "session": { "assistantID": "string", "createdAt": "2023-12-14T07:45:15.20353+00:00", "sessionID": "string", "userID": "61809D37-DA3F-4EFC-A324-EB181F38DD85" } } }}