Resume a session, from the provided session data
POST
/session/resume/{key}
Parameters
Path Parameters
key
required
string
Request Body
object
sessioncode
required
string
uuid
required
string
dialogue
required
Array<object>
A dialogue type schema
object
quickReplies
required
Array<string>
isReplying
required
boolean
workspace
required
object
key
additional properties
isVMRunning
required
boolean
clients
required
Array<string>
language
required
string
easyMode
required
boolean
responseMode
required
string
llmContext
required
string
tutorial
required
object
isTutorial
required
boolean
tutorialId
required
number
progress
required
number
stats
required
object
totalConnectingTime
required
number
currentNumOfBlocks
required
number
totalInvokedLLM
required
number
totalUserMessages
required
number
totalCodeExecutions
required
number
audios
required
Array<object>
object
id
required
string
base64
required
string
userAudio
required
string
screenshot
required
string
clicks
required
Array<object>
object
x
required
number
y
required
number
value
required
number
timestamp
required
number
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
Responses
200
Returns the session id. If the session provided, it will return the session id to continue the session from existing session, or create a new session based on the provided data.
object
sessionCode
required
string
400
Bad request: problem processing request.
Any of:
object
error
required
object
message
required
string
type
required
string
status
required
number
object
error
required
object
message
required
string
type
required
string
status
required
number
formErrors
required
string
fieldErrors
required
object
sessioncode
string
uuid
string
dialogue
string
quickReplies
string
isReplying
string
workspace
string
isVMRunning
string
clients
string
language
string
easyMode
string
responseMode
string
llmContext
string
tutorial
string
stats
string
audios
string
userAudio
string
screenshot
string
clicks
string
createdAt
string
updatedAt
string
object
error
required
object
message
required
string
type
required
string
status
required
number
formErrors
required
string
fieldErrors
required
object
language
string
401
Unauthorized: authentication required.
object
error
required
object
message
required
string
type
required
string
status
required
number
403
Forbidden: insufficient permissions.
object
error
required
object
message
required
string
type
required
string
status
required
number
404
Not found: resource does not exist.
object
error
required
object
message
required
string
type
required
string
status
required
number
429
Too many requests: rate limit exceeded.
object
error
required
object
message
required
string
type
required
string
status
required
number
500
Server error: something went wrong.
object
error
required
object
message
required
string
type
required
string
status
required
number