Endpoint
/confirm-execution verifies that the action which occurred in the real world matches the action that was authorized by Parmana.
It produces a signed Execution Integrity Proof that can be independently verified by auditors, compliance teams, regulators, and external systems.
Why It Exists
Authorization alone is not enough. Organizations must also prove that the action that actually occurred matches the action that was authorized.Core Principle
Parmana answers two different questions:Evaluation
Confirmation
/confirm-execution answers the second question.
Request Body
Fields
| Field | Type | Required | Description |
|---|---|---|---|
attestation | ExecutionAttestation | Yes | Signed attestation returned by /evaluate |
executedAction.type | string | Yes | Action that was executed |
executedAction.payload | object | Yes | Executed action payload |
executedAction.executedAt | string | Yes | ISO-8601 execution timestamp |
executedAction.executedBy | string | Yes | System or user that performed execution |
timeWindowSeconds | number | No | Maximum allowed time difference between execution and confirmation |
What Parmana Verifies
1. Attestation Signature
The attestation must have been signed by Parmana.2. Action Match
The executed action type must match the authorized action.3. Payload Consistency
The executed payload must remain consistent with the authorized decision.4. Time Window
The execution must occur within the configured confirmation window.Successful Response
Response Fields
executionId
Unique identifier for the generated integrity proof.authorizationId
Original authorization identifier from the attestation.integrityHash
Deterministic hash linking authorization and execution evidence.authorized
Summary of the authorized decision.executed
Summary of the actual executed action.match
Whether execution matched authorization.matchDetails
Detailed matching results.signature
Parmana signature over the integrity proof.verified
Whether the original attestation verified successfully.confirmedAt
Timestamp when the proof was produced.Match Details
| Field | Description |
|---|---|
actionTypeMatch | Executed action matches authorized action |
payloadConsistent | Executed payload matches authorization |
withinTimeWindow | Execution occurred within allowed window |
timeWindowSeconds | Configured confirmation window |
Replay Protection
Each attestation can only be confirmed once. Attempting to confirm the same attestation multiple times returns:Error Responses
400 Bad Request
401 Unauthorized
422 Invalid Attestation
409 Already Confirmed
500 Internal Error
Example — curl
Execution Integrity Proof
The returned proof is a signed record containing:- The original authorization
- The executed action
- Match results
- Runtime verification outcome
- Cryptographic signature
How Confirm Execution Fits Into Parmana
Was the action authorized?
/evaluate
and
Did the executed action match the authorized action?
/confirm-execution
Together they provide authorization verification before execution and execution integrity verification after execution.