Skip to content
HALOWERK

Calculators and Rule Checks

project network milestone work

Project milestone scope counts the distinct predecessor work and earliest elapsed time needed to complete one activity. Use it when an agent needs sizing a milestone without counting shared prerequisites twice.

POST https://rechen.halowerk.com/v1/project-network-milestone-work

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
tasksarrayYes
activitystringYes
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
    },
    "activity": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9_-]{1,32}$"
    }
  },
  "required": [
    "tasks",
    "activity"
  ],
  "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"
      ]
    }
  ],
  "activity": "accept"
}

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": {
        "activities": {
          "type": "integer"
        },
        "work_ticks": {
          "type": "integer"
        },
        "elapsed_ticks": {
          "type": "integer"
        },
        "parallel_work_ticks": {
          "type": "integer"
        }
      },
      "required": [
        "activities",
        "work_ticks",
        "elapsed_ticks",
        "parallel_work_ticks"
      ]
    },
    "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 →