Skip to content
HALOWERK

Denkwerk

plan dependency check

Each step declares the steps it needs and the artifacts it produces and consumes. The service checks that every referenced step exists, every consumed artifact is produced by an earlier dependency or supplied as initial input, detects cycles, lists steps that nothing depends on (dead ends besides declared goals) and groups the steps into topological levels that can run in parallel.

POST https://denk.halowerk.com/v1/plan-dependency-check

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
stepsarrayYes
initial_inputsarrayNo
goalsarrayNo
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "steps"
  ],
  "properties": {
    "steps": {
      "type": "array",
      "minItems": 1,
      "maxItems": 500,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 100
          },
          "action": {
            "type": "string",
            "maxLength": 500
          },
          "needs": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "produces": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "consumes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "default": []
          }
        }
      }
    },
    "initial_inputs": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": []
    },
    "goals": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": []
    }
  }
}

Open original schema

Published input example

{
  "initial_inputs": [
    "order_id"
  ],
  "goals": [
    "send_mail"
  ],
  "steps": [
    {
      "id": "load",
      "consumes": [
        "order_id"
      ],
      "produces": [
        "order"
      ]
    },
    {
      "id": "invoice",
      "needs": [
        "load"
      ],
      "consumes": [
        "order"
      ],
      "produces": [
        "pdf"
      ]
    },
    {
      "id": "send_mail",
      "needs": [
        "invoice"
      ],
      "consumes": [
        "pdf",
        "email"
      ]
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub โ†’