Skip to content

Desktop

POST
/api/threads/{thread_id}/desktop
curl --request POST \
--url http://localhost:8000/api/threads/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/desktop \
--cookie factory_session=<factory_session>

Start the sandbox desktop and return a signed URL for it.

thread_id
required
Thread Id
string format: uuid

Successful Response

Media typeapplication/json
Response Desktop Api Threads Thread Id Desktop Post
object
key
additional properties
string

Example generated

{
"additionalProperty": "example"
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}