events.iterate.com

Event type

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

What actually happened after one approved request was released: the upstream status, or the delivery failure. Approval and outcome are separate facts — audits want both — and a batch's released requests finish independently, so each settles on its own.

Payload schema

approvalRequestEventOffsetinteger

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

indexinteger

Which request in the batch this settlement is about.

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 batch's identity: the offset of its human-approval-requested event."
    },
    "index": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Which request in the batch this settlement is about."
    },
    "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",
    "index"
  ]
}