Retrieve Job with unknown failure
GET /v2/jobs/:guid
Request
Route
GET /v2/jobs/b353c80c-4658-4676-a7a6-bbf8d0229f9d
Body
Name |
Description |
Default |
Valid Values |
Example Values |
guid
|
The guid of the job.
|
|
|
|
status
|
The status of the job.
|
|
- failed
- finished
- queued
- running
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/jobs/b353c80c-4658-4676-a7a6-bbf8d0229f9d" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTk4IiwiZW1haWwiOiJlbWFpbC02OUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI2MTg3NzQxfQ.zw-rlJepVJaikR7yOuWa7zsuGnPa5yckT5PThdD8XeA" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "b353c80c-4658-4676-a7a6-bbf8d0229f9d",
"created_at": "2015-03-05T19:15:41Z",
"url": "/v2/jobs/b353c80c-4658-4676-a7a6-bbf8d0229f9d"
},
"entity": {
"guid": "b353c80c-4658-4676-a7a6-bbf8d0229f9d",
"status": "failed",
"error": "Use of entity>error is deprecated in favor of entity>error_details.",
"error_details": {
"error_code": "UnknownError",
"description": "An unknown error occurred.",
"code": 10001
}
}
}
Headers