events.iterate.com

Event type

events.iterate.com/project/human-approval-settled

What actually happened after a granted request was released: the upstream status, or the delivery failure. Approval and outcome are separate facts — audits want both.

Payload schema

approvalRequestEventOffsetinteger

The held request's identity: the offset of its human-approval-requested event.

statusintegeroptional

Upstream HTTP status of the released request.

errorstringoptional

Delivery failure, when the released request never got a status.

Raw JSON schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "approvalRequestEventOffset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "The held request's identity: the offset of its human-approval-requested event."
    },
    "status": {
      "description": "Upstream HTTP status of the released request.",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "error": {
      "description": "Delivery failure, when the released request never got a status.",
      "type": "string"
    }
  },
  "required": [
    "approvalRequestEventOffset"
  ]
}