Retrieve Job with unknown failure
GET /v2/jobs/:guid
Request
Route
GET /v2/jobs/4d8b1429-5889-4085-a474-d9f61652a5ab
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/4d8b1429-5889-4085-a474-d9f61652a5ab" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1NyIsImVtYWlsIjoiZW1haWwtMjU3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyNDN9.m1p7QaBrT7U-9tIOzXZtqI1paLh-wl_YdozzKanxyco" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "4d8b1429-5889-4085-a474-d9f61652a5ab",
"created_at": "2016-02-19T02:04:03Z",
"url": "/v2/jobs/4d8b1429-5889-4085-a474-d9f61652a5ab"
},
"entity": {
"guid": "4d8b1429-5889-4085-a474-d9f61652a5ab",
"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