Decisions

List shadow-mode decision evaluation reports

GET
/v1/protocol/shadow/evaluate-decision/reports

Returns protocol-owned shadow reports derived from saved evaluate-decision records. Reports summarize what Decionis would continue, stop, hand off, or review without exposing policy rules.

Authorization

ApiKeyAuth
AuthorizationBearer <token>

An organization API key. Its scopes decide what it may call; decision:shadow is the narrowest: SHADOW evaluations through POST /v1/authority/grants or its alias POST /v1/authority/enforce-and-bind only (DECISION_SHADOW_MODE_DENIED in any other mode; DECISION_SHADOW_FIELD_DENIED for a body carrying context.decionis_policy, evidence or escalation), with no integration dispatch. A key whose only scope is decision:shadow (an AgentSafe hosted gateway's) reaches exactly those two, POST /v1/auth/credential-context, POST /v1/hosted-gateway/keys/confirm and POST /v1/hosted-gateway/keys/revoke-self; every other route answers 403 HOSTED_GATEWAY_KEY_PATH_DENIED. decision:enforce is an enforced hosted gateway's key: evaluations in SHADOW or ENFORCEMENT through POST /v1/authority/grants or its alias (400 DECISION_ENFORCE_FIELD_DENIED for a body carrying context.decionis_policy; it never holds policy:write), and the grants and managed escalations they bind. A key whose scopes are decision:enforce (with or without decision:shadow) reaches exactly POST /v1/authority/enforce-and-bind, POST /v1/authority/grants, GET /v1/authority/grants/{grant_id}, POST /v1/authority/grants/{grant_id}/claims, POST /v1/authority/grants/{grant_id}/receipts, POST /v1/authority/grants/{grant_id}/reconciliations, POST /v1/execution/verify-token, POST /v1/execution/claim-token, POST /v1/execution/consume-token, POST /v1/execution/finalize-token, GET /v1/authority/escalations/{escalation_id}, DELETE /v1/authority/escalations/{escalation_id}, POST /v1/auth/credential-context, POST /v1/hosted-gateway/keys/confirm and POST /v1/hosted-gateway/keys/revoke-self, each id a UUID; every other route answers 403 HOSTED_GATEWAY_KEY_PATH_DENIED.

In: header

Query Parameters

org_id*string
Formatuuid
mode?string
Default"SHADOW"

Value in

  • "SHADOW"
  • "PARALLEL"
  • "ENFORCEMENT"
limit?integer
Range1 <= value <= 500
Default50
since?string
Formatdate-time

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/protocol/shadow/evaluate-decision/reports?org_id=497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "service": "string",  "protocol_version": "string",  "generated_at": "2019-08-24T14:15:22Z",  "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",  "mode": "SHADOW",  "since": "2019-08-24T14:15:22Z",  "count": 0,  "reports": [    {      "evaluation_id": "4108ec8e-6efd-4b9b-bace-0bb4c296c324",      "dossier_id": "8a9bfc13-db6c-4e62-a117-1a4399450d29",      "created_at": "2019-08-24T14:15:22Z",      "decision_type": "string",      "decision_domain": "string",      "amount": 0,      "risk_score": 0,      "channel": "string",      "policy_version": "string",      "mode": "SHADOW",      "outcome": "APPROVE",      "confidence": 0,      "would_execute": true,      "execution_action": "CONTINUE",      "reason": "string",      "policy_guard_reason": "string",      "policy_evaluation_resolution": "string",      "selected_rule_id": "string",      "dossier_api_path": "string"    }  ],  "summary": {    "total_evaluations": 0,    "would_approve_count": 0,    "would_block_count": 0,    "would_escalate_count": 0,    "review_required_count": 0,    "non_approve_count": 0,    "non_approve_rate": 0,    "policy_mismatch_count": 0,    "policy_mismatch_rate": 0,    "near_miss_count": 0,    "near_miss_rate": 0,    "outcome_counts": {      "property1": 0,      "property2": 0    },    "top_decision_types": [      {}    ],    "top_reason_patterns": [      {}    ]  }}