Use Job Detail api to check the job state.
GET /v1/client/job/{job_id} Authorization: Bearer YOUR_API_KEY
Content-Type: application/json HTTP OK ✅
// Status: 200
{
"ok": true,
"data": {
"id": "01976ead-e3b5-73e3-b26a-71a3fbc756b5",
"name": "YH-1750243754068",
"state": "completed",
"system_note": null,
"schedule_at": null,
"created_at": "2025-06-14T13:43:00.008875Z",
"updated_at": "2025-06-18T07:21:56.081435Z"
}
} | key | type | nullable |
|---|---|---|
| id | string | no |
| name | string | no |
| state | string | no |
| created_at | string (RFC 3339) | no |
| system_note | string | yes |
| schedule_at | string (RFC 3339) | yes |
| updated_at | string (RFC 3339) | yes |
Valid values for state:
[
"submitted",
"pending",
"runnable",
"starting",
"running",
"cancelling",
"cancelled",
"timeout",
"completed",
"failed",
"error"
] Invalid Response ⚠️
// Status: 4XX
{
"ok": false,
"message": "error info"
} Curl
curl -i --request GET \
--url https://api.daestro.com/v1/client/job/{job_id} \
--header 'authorization: Bearer YOUR_API_KEY' \
--header 'content-type: application/json'