Get enforcement job status
GET
/enforcement/jobs/{jobID}Auth:
BearerPath parameters
jobIDuuidrequired
Response
iduuid
child_iduuid
policy_iduuid
trigger_typemanual | auto | webhook
statuspending | running | completed | failed | partial
started_atdatetime
completed_atdatetime
created_atdatetime
Request
bash
curl -X GET "https://api.phosra.com/api/v1/enforcement/jobs/{jobID}" \
-H "Authorization: Bearer YOUR_API_KEY"Response
json
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"child_id": "550e8400-e29b-41d4-a716-446655440000",
"policy_id": "550e8400-e29b-41d4-a716-446655440000",
"trigger_type": "manual",
"status": "pending",
"started_at": "2025-01-15T09:30:00Z",
"completed_at": "2025-01-15T09:30:00Z",
"created_at": "2025-01-15T09:30:00Z"
}