Jobs

Get safety decisions for a job

Changed on
get/api/v1/jobs/{id}/decisions

Request

  • Base URL: http://localhost:8081
  • URL: http://localhost:8081/api/v1/jobs/{id}/decisions
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

idstring required

Job ID

Headers

X-Tenant-IDstring required

Tenant isolation header (required on all protected routes).

Response

Safety decisions

rule_idstring

ID of the matched policy rule

action'ALLOW' | 'DENY' | 'REQUIRE_APPROVAL' | 'THROTTLE' | 'ALLOW_WITH_CONSTRAINTS' | 'UNAVAILABLE'

Safety decision outcome

reasonstring

Human-readable explanation for the decision

constraintsobject nullable

Policy constraints applied if action is ALLOW_WITH_CONSTRAINTS

evaluated_atstring date-time

Timestamp of the policy evaluation

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status