{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oakstack-dev/json-schema/oakstack-dev-get-api-v1-hook-events-id-response-schema.json",
  "title": "GetApiV1HookEventsIdResponse",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/oakstack-dev-openapi-generated.yml#/components/schemas/GetApiV1HookEventsIdResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "endpointId": {
      "type": "string"
    },
    "replayOf": {
      "type": "string"
    },
    "receivedAt": {
      "type": "string"
    },
    "method": {
      "type": "string"
    },
    "sizeBytes": {
      "type": "integer"
    },
    "sourceIp": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "attempt": {
      "type": "integer"
    },
    "maxAttempts": {
      "type": "integer"
    },
    "nextAttemptAt": {
      "type": "string"
    },
    "lastResponseStatus": {
      "type": "integer"
    },
    "lastError": {
      "type": "string"
    },
    "deliveredAt": {
      "type": "string"
    },
    "headers": {
      "type": "object"
    },
    "body": {
      "type": "string"
    },
    "bodyEncoding": {
      "type": "string",
      "description": "utf8 or base64 for binary bodies"
    },
    "attempts": {
      "type": "array",
      "description": "Details of each delivery attempt"
    }
  }
}