Skip to content
HALOWERK

Agentenwerk

workflow retry budget envelope

Return sequential worst-case attempt time and caller-unit cost for supplied retry policies. No jobs are executed.

POST https://agent.halowerk.com/v1/workflow-retry-budget-envelope

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
stepsarrayYes
available_unitsintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "steps": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 100,
            "minLength": 1
          },
          "attempt_ms": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000
          },
          "cost_units": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          },
          "max_attempts": {
            "type": "integer",
            "minimum": 1,
            "maximum": 20
          },
          "delay_ms": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000
          },
          "multiplier": {
            "type": "number",
            "minimum": 1,
            "maximum": 5
          },
          "max_delay_ms": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000
          }
        },
        "required": [
          "id",
          "attempt_ms",
          "cost_units",
          "max_attempts",
          "delay_ms",
          "multiplier",
          "max_delay_ms"
        ],
        "additionalProperties": false
      },
      "maxItems": 30,
      "minItems": 1
    },
    "available_units": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000000000
    }
  },
  "required": [
    "steps",
    "available_units"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "steps": [
    {
      "id": "fetch",
      "attempt_ms": 100,
      "cost_units": 5,
      "max_attempts": 3,
      "delay_ms": 200,
      "multiplier": 2,
      "max_delay_ms": 1000
    }
  ],
  "available_units": 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 โ†’