API ReferenceDecision APIGovernance
Submit impact assessment
Records a consequence simulation produced by an impact_assessor agent. Must be submitted before the DecisionRecord is finalised for high/critical risk tasks with transact, delete, or admin action_class. See §22.
AuthorizationBearer <token>
In: header
Scope: agp.decision.read, agp.decision.write
Header Parameters
Idempotency-Key?string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Pre-execution consequence simulation produced by an impact_assessor agent. See §22.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/agp/impact-assessments" \ -H "Content-Type: application/json" \ -d '{ "type": "ImpactAssessment", "assessment_id": "string", "task_id": "string", "decision_ref": "string", "agent_id": "string", "time_horizons": [ { "horizon": "immediate", "consequences": [ "string" ], "severity": "negligible", "reversible": true } ], "recommendation": "proceed", "assessed_at": "2019-08-24T14:15:22Z" }'{ "type": "ImpactAssessment", "assessment_id": "string", "task_id": "string", "decision_ref": "string", "agent_id": "string", "time_horizons": [ { "horizon": "immediate", "consequences": [ "string" ], "severity": "negligible", "reversible": true } ], "stakeholders_affected": [ { "stakeholder_class": "string", "impact_direction": "positive", "magnitude": "negligible", "notes": "string" } ], "pareto_assessment": { "improves_without_harm": true, "harmed_parties": [ "string" ], "mitigation_available": true, "mitigation_notes": "string" }, "ethical_framework_applied": { "primary": "veil_of_ignorance", "secondary": [ "veil_of_ignorance" ], "prohibitions": [ "string" ], "policy_ref": "string" }, "recommendation": "proceed", "recommendation_rationale": "string", "assessed_at": "2019-08-24T14:15:22Z", "signature": { "alg": "string", "kid": "string", "issuer": "string", "issued_at": "2019-08-24T14:15:22Z", "payload_hash": "string", "value": "string" }}{ "error": { "code": "AGP_INVALID_REQUEST", "message": "string", "retryable": true, "details": {} }}{ "error": { "code": "AGP_INVALID_REQUEST", "message": "string", "retryable": true, "details": {} }}{ "error": { "code": "AGP_INVALID_REQUEST", "message": "string", "retryable": true, "details": {} }}