Get enforcement job results per platform
/enforcement/jobs/{jobID}/resultsReturns per-fixture outcomes from a sandbox enforcement simulation. These results are not evidence that a production platform applied the policy.
BearerPath parameters
jobIDResponse
idUnique identifier for this resource.
enforcement_job_idUnique identifier (UUID) for the related resource.
compliance_link_idUnique identifier (UUID) for the related resource.
platform_idIdentifier of the associated platform.
statusCurrent lifecycle state of the resource.
rules_appliedNumber of rules successfully applied to the target during this run.
rules_skippedNumber of rules skipped because the target does not support that category.
rules_failedNumber of rules that returned an error while being applied.
error_messageHuman-readable error detail when the operation failed; null on success.
detailsFree-form provider response payload captured for debugging.
started_atRFC 3339 timestamp of when the job started running.
completed_atRFC 3339 timestamp of when the job finished.
curl -sS "https://phosra-api-sandbox-production.up.railway.app/api/v1/enforcement/jobs/9b2f4a1e-5c3d-4e2a-8f1b-2c963f66afa6/results" \
-H "Authorization: Bearer $PHOSRA_API_KEY"[
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"enforcement_job_id": "550e8400-e29b-41d4-a716-446655440000",
"compliance_link_id": "550e8400-e29b-41d4-a716-446655440000",
"platform_id": "string",
"status": "pending",
"rules_applied": 0,
"rules_skipped": 0,
"rules_failed": 0,
"error_message": null,
"details": {},
"started_at": null,
"completed_at": null
}
]