Skip to main content
GET
/
task
/
{task_id}
curl -X GET "https://api.smooth.sh/api/v1/task/YOUR_TASK_ID" \
-H "apikey: YOUR_API_KEY"
{
  "r": {
    "id": "<string>",
    "status": "waiting",
    "output": "<unknown>",
    "credits_used": 123,
    "device": "desktop",
    "live_url": "<string>",
    "recording_url": "<string>",
    "downloads_url": "<string>",
    "created_at": 123,
    "events": [
      {
        "name": "<string>",
        "payload": {},
        "id": "<string>",
        "timestamp": 123
      }
    ]
  }
}

Authorizations

apikey
string
header
required

Path Parameters

task_id
string
required

Query Parameters

event_t
integer
default:0

Timestamp of last event received. Only events after this timestamp will be returned.

downloads
boolean
default:false

Whether to include the download URL for files downloaded during the task.

Response

Task has completed (status is 'done', 'failed', or 'cancelled').

r
TaskResponse · object
required

Response model for task operations.