Get task details
View as MarkdownGet details about a specific task in a job
Authorization
ApiKeyAuth In: header
Path Parameters
Job identifier
uuidTask identifier
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://q.scrape.do/api/v1/jobs/497f6eca-6276-4993-bfeb-53cbbbba6f08/string"{
"TaskID": "c4c6a9ae-c88d-49cb-bc9a-4807f847a816",
"JobID": "b638a944-21fb-4ff0-b1c5-29221991a533",
"URL": "string",
"Status": "queuing",
"StartTime": "2019-08-24T14:15:22Z",
"EndTime": "2019-08-24T14:15:22Z",
"Base64EncodedContent": true,
"StatusCode": 0,
"ResponseHeaders": {
"property1": "string",
"property2": "string"
},
"Scrape.do": {
"property1": "string",
"property2": "string"
},
"Content": "string",
"ErrorMessage": "string",
"WebhookURL": "string",
"WebhookStatus": "pending",
"WebhookRequestTime": "2019-08-24T14:15:22Z",
"TraceID": "string"
}{
"Error": "string",
"Code": 0
}{
"Error": "string",
"Code": 0
}{
"Error": "string",
"Code": 0
}{
"Error": "string",
"Code": 0
}{
"Error": "string",
"Code": 0
}{
"Error": "string",
"Code": 0
}Result availability
Jobs and their tasks, including the scraped Content, are kept for 3 days (72 hours) after the job is created. After that, this endpoint returns 404.
In rare cases the task record still exists but its stored content can no longer be read. The endpoint then returns 410 Gone with the message Task response content is no longer available. Retrying won't help, so create a new job for that URL.
Content is returned as plain text when the response is valid UTF-8. Binary responses (images, PDFs, …) are base64 encoded, and Base64EncodedContent is set to true.

