Skip to content
HALOWERK

Agentenwerk

message lease fencing violations

Find stale fencing tokens and holder mismatches in supplied ordered lease and write events.

POST https://agent.halowerk.com/v1/message-lease-fencing-violations

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
eventsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "resource": {
            "type": "string",
            "maxLength": 64,
            "minLength": 1
          },
          "holder": {
            "type": "string",
            "maxLength": 64,
            "minLength": 1
          },
          "token": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "kind": {
            "enum": [
              "grant",
              "write"
            ]
          }
        },
        "required": [
          "resource",
          "holder",
          "token",
          "kind"
        ],
        "additionalProperties": false
      },
      "maxItems": 300,
      "minItems": 0
    }
  },
  "required": [
    "events"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "events": [
    {
      "resource": "queue",
      "holder": "worker_A",
      "token": 3,
      "kind": "grant"
    },
    {
      "resource": "queue",
      "holder": "worker_B",
      "token": 4,
      "kind": "grant"
    },
    {
      "resource": "queue",
      "holder": "worker_A",
      "token": 3,
      "kind": "write"
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’