Get enforcement job results per platform

GET/enforcement/jobs/{jobID}/results

Returns per-fixture outcomes from a sandbox enforcement simulation. These results are not evidence that a production platform applied the policy.

Auth:Bearer

Path parameters

jobID

uuidrequired

Response

id

Unique identifier for this resource.

uuid
enforcement_job_id

Unique identifier (UUID) for the related resource.

uuid
compliance_link_id

Unique identifier (UUID) for the related resource.

uuid
platform_id

Identifier of the associated platform.

string
status

Current lifecycle state of the resource.

pending | running | completed | failed | partial
rules_applied

Number of rules successfully applied to the target during this run.

integer
rules_skipped

Number of rules skipped because the target does not support that category.

integer
rules_failed

Number of rules that returned an error while being applied.

integer
error_message

Human-readable error detail when the operation failed; null on success.

stringnull
details

Free-form provider response payload captured for debugging.

object
started_at

RFC 3339 timestamp of when the job started running.

datetime
completed_at

RFC 3339 timestamp of when the job finished.

datetime
Request
bash
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"
Response
json
[
  {
    "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
  }
]