Skip to content

/session/{key} (PUT)

PUT
/session/{key}

Parameters

Path Parameters

key
required
string

Request Body

object
sessioncode
required
string
uuid
required
string
dialogue
required
Array<object>
nullable

A dialogue type schema

object
{
"id": 1,
"contentType": "user",
"isuser": true,
"content": "Hello",
"ui": "example_ui"
}
quickReplies
required
Array<string>
nullable
isReplying
required
boolean
workspace
required
object
key
additional properties
nullable
isVMRunning
required
boolean
clients
required
Array<string>
nullable
language
required
string
nullable
easyMode
required
boolean
nullable
responseMode
required
string
Allowed values: text audio
llmContext
required
string
nullable
tutorial
required
object
isTutorial
required
boolean
tutorialId
required
number
nullable
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>
nullable
object
id
required
string
base64
required
string
userAudio
required
string
nullable
screenshot
required
string
nullable
clicks
required
Array<object>
nullable
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

Session updated

string

400

Bad request: problem processing request.

Any of:
object
error
required
object
message
required
string
type
required
string
Allowed values: BAD_REQUEST
status
required
number

401

Unauthorized: authentication required.

object
error
required
object
message
required
string
type
required
string
Allowed values: UNAUTHORIZED
status
required
number

403

Forbidden: insufficient permissions.

object
error
required
object
message
required
string
type
required
string
Allowed values: FORBIDDEN
status
required
number

404

Not found: resource does not exist.

object
error
required
object
message
required
string
type
required
string
Allowed values: NOT_FOUND
status
required
number

429

Too many requests: rate limit exceeded.

object
error
required
object
message
required
string
type
required
string
Allowed values: TOO_MANY_REQUESTS
status
required
number

500

Server error: something went wrong.

object
error
required
object
message
required
string
type
required
string
Allowed values: SERVER_ERROR
status
required
number