Skip to content
HALOWERK

Trade Operations

relative time roundtrip error

Relative time precision analysis quantifies the difference between an elapsed duration and its displayed rounded-unit estimate. Use it when an agent needs the temporal error of a status label.

POST https://handel.halowerk.com/v1/relative-time-roundtrip-error

Inputs

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

Open original schema

Published input example

{
  "locale": "de-DE",
  "seconds": 3500,
  "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 โ†’