Skip to content
HALOWERK

Calculators and Rule Checks

project network critical route

Project critical path returns an earliest finish and one reproducible longest chain of activities. Use it when an agent needs identifying the sequence that sets the earliest finish.

POST https://rechen.halowerk.com/v1/project-network-critical-route

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
tasksarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "tasks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-zA-Z0-9_-]{1,32}$"
          },
          "ticks": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000000
          },
          "after": {
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[a-zA-Z0-9_-]{1,32}$"
            },
            "maxItems": 48,
            "minItems": 0
          }
        },
        "required": [
          "id",
          "ticks",
          "after"
        ],
        "additionalProperties": false
      },
      "maxItems": 60,
      "minItems": 1
    }
  },
  "required": [
    "tasks"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "tasks": [
    {
      "id": "verify",
      "ticks": 76,
      "after": []
    },
    {
      "id": "publisher",
      "ticks": 1005,
      "after": [
        "verify"
      ]
    },
    {
      "id": "http",
      "ticks": 69,
      "after": [
        "verify"
      ]
    },
    {
      "id": "accept",
      "ticks": 2,
      "after": [
        "publisher",
        "http"
      ]
    }
  ]
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "finish": {
          "type": "integer"
        },
        "chain": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "finish",
        "chain"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub →