Skip to content
HALOWERK

Trade Operations

relative time refresh boundary

Relative countdown scheduling computes the first millisecond at which a nearest-unit label changes as the clock advances. Use it when an agent needs the next refresh time for a visible countdown.

POST https://handel.halowerk.com/v1/relative-time-refresh-boundary

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
localestringYes
referencestringYes
targetstringYes
unitSee schemaYes
Show full input schema
{
  "type": "object",
  "properties": {
    "locale": {
      "type": "string",
      "maxLength": 45,
      "minLength": 1
    },
    "reference": {
      "type": "string",
      "maxLength": 30,
      "minLength": 1
    },
    "target": {
      "type": "string",
      "maxLength": 30,
      "minLength": 1
    },
    "unit": {
      "enum": [
        "second",
        "minute",
        "hour",
        "day",
        "week"
      ]
    }
  },
  "required": [
    "locale",
    "reference",
    "target",
    "unit"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "locale": "de-DE",
  "reference": "2026-01-16T15:00:00Z",
  "target": "2026-01-16T16:54:00.000Z",
  "unit": "hour"
}

Result & documentation

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 โ†’