Skip to main content
GET
/
task
cURL
curl -X GET "https://api.smooth.sh/api/v1/task?l=10" \
     -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

Query Parameters

t
integer

Timestamp to paginate from (returns tasks created before this timestamp)

l
integer
default:32

Limit number of results

Required range: 1 <= x <= 128

Response

200 - application/json

List of tasks

r
TaskResponse · object[]
required