Skip to content

startDevSession

startDevSession: Session!

Create a developer session

Only admins can create developer sessions

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 startDevSession {
graphite {
startDevSession {
sessionID
assistantID
userID
createdAt
}
}
}
{}

Response Example:

{
"data": {
"graphite": {
"startDevSession": {
"assistantID": "string",
"createdAt": "2023-12-14T07:45:15.20353+00:00",
"sessionID": "string",
"userID": "61809D37-DA3F-4EFC-A324-EB181F38DD85"
}
}
}
}