tasks

PUT /tasks/{id}/status

Request

Path parameters

idinteger required

Task ID

Request body

resultstring
solutionstring
status'PENDING' | 'PROCESSING' | 'COMPLETED' | 'FAILED'
taskDetailsobject

Example request

{
  "result": "s3url/path",
  "solution": "scrapedo, scrapeless, etc"
}

Response

Task status updated

messagestring

Example response

{
  "data": {
    "action": "scraping",
    "callbackUrl": "https://api.example.com/webhook",
    "createdAt": "2023-12-01T10:30:00Z",
    "domain": "example.com",
    "fingerprintId": 101112,
    "id": 1234,
    "jobId": 987,
    "proxy": "user:password@127.0.0.1:8080",
    "result": "s3://bucket/path/result.json",
    "scrapeTime": 2.5,
    "solution": "captcha_solution_token",
    "statusMessage": "Task queued for processing",
    "updatedAt": "2023-12-01T10:35:00Z",
    "userId": "user_123"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.