Retrieves the current status and results of a background task started by endpoints like /create_desktop or /reset.
Path Parameters
Task identifier returned by the original request
Response
Type of task (create_desktop, reset_environment)
Current status (running, completed, failed)
Unix timestamp when task started
Elapsed time in seconds (if running)
Unix timestamp when task ended (if completed/failed)
Total execution time in seconds (if completed/failed)
Task result (if completed)
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
}