Skip to content
HALOWERK

Trade Operations

relative time numeric token layout

Relative time formatting separates number parts from grammatical literals for accessible interface layout. Use it when an agent needs the text surrounding a localized numeral.

POST https://handel.halowerk.com/v1/relative-time-numeric-token-layout

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
localestringYes
unitSee schemaYes
valuenumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "locale": {
      "type": "string",
      "maxLength": 45,
      "minLength": 1
    },
    "unit": {
      "enum": [
        "second",
        "minute",
        "hour",
        "day",
        "week",
        "month",
        "quarter",
        "year"
      ]
    },
    "value": {
      "type": "number",
      "minimum": -10000,
      "maximum": 10000
    }
  },
  "required": [
    "locale",
    "unit",
    "value"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "locale": "de-DE",
  "unit": "hour",
  "value": -2.5
}

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