Update a session by its key
PUT /session/{key}
PUT
/session/{key}
Authorizations
Parameters
Path Parameters
key
required
string
Request Body
object
uuid
string
sessionId
string
name
string | null
dialogue
array | null
A dialogue type schema
object
{ "id": 1, "contentType": "user", "isUser": true, "content": "Hello", "ui": "example_ui"}
quickReplies
array | null
isReplying
boolean
workspace
object | null
isVMRunning
boolean
clients
array | null
language
string | null
easyMode
boolean | null
responseMode
string
llmContext
string | null
tutorial
object
isTutorial
required
boolean
tutorialId
required
number | null
progress
required
number
stats
object
totalConnectingTime
required
number
currentNumOfBlocks
required
number
totalInvokedLLM
required
number
totalUserMessages
required
number
totalCodeExecutions
required
number
audios
array | null
object
id
required
string
base64
required
string
userAudio
string | null
screenshot
string | null
clicks
array | null
object
x
required
number
y
required
number
value
required
number
timestamp
required
number
userInfo
createdAt
string format: date-time
updatedAt
string format: date-time
Responses
200
Session updated
object
sessionId
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
key
string
object
error
required
object
message
required
string
type
required
string
status
required
number
formErrors
required
string
fieldErrors
required
object
uuid
string
sessionId
string
name
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
userInfo
string
createdAt
string
updatedAt
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