Outcomes

List signed outcome statements

GET
/v1/outcomes/statements

Organization API key with decision:read and role VIEWER or higher. Every statement of the key's organization, optionally for one month, each verifiable offline with decionis-verify outcomes.

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

period?string
Match^\d{4}-(0[1-9]|1[0-2])$

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/outcomes/statements"
{  "statements": [    {      "artifact": {        "version": "decionis.outcomes.statement/1",        "statement_id": "6fcc7115-8e6b-40cd-9754-72e975d1d953",        "agreement_id": "67dd069b-637c-4b8e-8d92-17a313d06fb8",        "agreement_sha256": "string",        "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",        "environment": "sandbox",        "period": "string",        "window": {          "from": "2019-08-24T14:15:22Z",          "to": "2019-08-24T14:15:22Z"        },        "closed_at": "2019-08-24T14:15:22Z",        "calculator": {          "version": "string"        },        "totals": [          {            "currency": "string",            "scale": 0,            "governed_minor": 0,            "prevented_minor": 0,            "held_unconfirmed_minor": 0,            "false_hold_minor": 0,            "pending_minor": 0,            "coverage_gap_minor": 0          }        ],        "reporting": {          "currency": "string",          "scale": 0,          "prevented_minor": 0,          "corrections_minor": 0,          "deductions": {            "false_holds_minor": 0,            "delay_minor": 0,            "analyst_minor": 0,            "total_minor": 0          },          "net_benefit_minor": 0,          "unconverted_currencies": [            "string"          ]        },        "counts": {          "evaluated": 0,          "governed": 0,          "prevented": 0,          "held_unconfirmed": 0,          "false_holds": 0,          "pending": 0,          "coverage_gaps": 0,          "estimates": 0,          "excluded": 0,          "disputed": 0        },        "estimates": [          {            "currency": "string",            "scale": 0,            "would_hold_minor": 0,            "count": 0          }        ],        "corrections": [          {            "subject_digest": "string",            "original_period": "string",            "from": "GOVERNED",            "to": "GOVERNED",            "currency": "string",            "scale": 0,            "prevented_delta_minor": 0          }        ],        "process_map": [          {            "platform": "string",            "action_type": "string",            "total": 0,            "governed": 0,            "held": 0,            "desk_reviews": 0,            "customer_reviews": 0,            "median_cycle_minutes": 0,            "p90_cycle_minutes": 0          }        ],        "narrative": [          "string"        ],        "entries": {          "count": 0,          "sha256": "string"        }      },      "artifact_sha256": "string",      "canonicalization": "RFC8785/JCS",      "verification": "signed",      "signature": {        "algorithm": "Ed25519",        "keyId": "string",        "value": "string"      },      "public_jwks_path": "/.well-known/decision-dossier-jwks.json"    }  ]}