Skip to content
HALOWERK

Calculators and Rule Checks

atlas trip overnight stages

City itinerary stage planning partitions consecutive legs into days without exceeding a maximum daily center-to-center distance. Use it when an agent needs trip comparisons between named settlement centers.

POST https://rechen.halowerk.com/v1/atlas-trip-overnight-stages

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
placesarrayYes
budget_kmnumberYes
snapshotSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "places": {
      "type": "array",
      "minItems": 2,
      "maxItems": 16,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 160
      }
    },
    "budget_km": {
      "type": "number",
      "minimum": 0,
      "maximum": 100000
    },
    "snapshot": {
      "enum": [
        "5.1.2"
      ]
    }
  },
  "required": [
    "places",
    "budget_km"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "places": [
    "Berlin|DEU",
    "Prague|CZE",
    "Vienna|AUT"
  ],
  "budget_km": 500,
  "snapshot": "5.1.2"
}

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": {
        "feasible": {
          "type": "boolean"
        },
        "days": {
          "type": [
            "integer",
            "null"
          ]
        },
        "overnights": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "feasible",
        "days",
        "overnights"
      ]
    },
    "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 →