Skip to content
HALOWERK

Agentenwerk

workflow event order invariants

Return violated event ordering and minimum/maximum gap constraints from a supplied event log. No jobs are executed.

POST https://agent.halowerk.com/v1/workflow-event-order-invariants

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
eventsarrayYes
rulesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 100,
            "minLength": 1
          },
          "at_ms": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000
          }
        },
        "required": [
          "id",
          "at_ms"
        ],
        "additionalProperties": false
      },
      "maxItems": 50,
      "minItems": 1
    },
    "rules": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "before": {
            "type": "string",
            "maxLength": 100,
            "minLength": 1
          },
          "after": {
            "type": "string",
            "maxLength": 100,
            "minLength": 1
          },
          "min_gap_ms": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000
          },
          "max_gap_ms": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 1000000000
          }
        },
        "required": [
          "before",
          "after",
          "min_gap_ms",
          "max_gap_ms"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 0
    }
  },
  "required": [
    "events",
    "rules"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "events": [
    {
      "id": "started",
      "at_ms": 0
    },
    {
      "id": "ready",
      "at_ms": 30
    }
  ],
  "rules": [
    {
      "before": "started",
      "after": "ready",
      "min_gap_ms": 10,
      "max_gap_ms": 20
    }
  ]
}

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 โ†’