Skip to main content
GET
/
task_status
/
{task_id}
curl -X GET "http://CONTROL_PLANE_IP:PORT/task_status/uuid-string"
{
  "task_id": "uuid-string",
  "task_type": "create_desktop",
  "status": "running",
  "start_time": 1234567890.123,
  "duration": 5.333
}
Retrieves the current status and results of a background task started by endpoints like /create_desktop or /reset.

Path Parameters

task_id
string
required
Task identifier returned by the original request

Response

task_id
string
Task identifier
task_type
string
Type of task (create_desktop, reset_environment)
status
string
Current status (running, completed, failed)
start_time
number
Unix timestamp when task started
duration
number
Elapsed time in seconds (if running)
end_time
number
Unix timestamp when task ended (if completed/failed)
total_duration
number
Total execution time in seconds (if completed/failed)
result
object
Task result (if completed)
error
string
Error message (if failed)
curl -X GET "http://CONTROL_PLANE_IP:PORT/task_status/uuid-string"
{
  "task_id": "uuid-string",
  "task_type": "create_desktop",
  "status": "running",
  "start_time": 1234567890.123,
  "duration": 5.333
}