Skip to content
HALOWERK

Mobility, Warnings and Local Data

log clock local day counts

Timezone log grouping returns event counts for each local calendar date. Use it when an agent needs a calendar-day report from offset-aware events.

POST https://ort.halowerk.com/v1/log-clock-local-day-counts

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
zonestringYes
timestampsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "zone": {
      "type": "string",
      "maxLength": 75,
      "minLength": 1
    },
    "timestamps": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 40,
        "minLength": 1
      },
      "maxItems": 60,
      "minItems": 1
    }
  },
  "required": [
    "zone",
    "timestamps"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "zone": "America/New_York",
  "timestamps": [
    "2026-11-01T01:35:00-04:00",
    "2026-11-01T01:20:00-05:00",
    "2026-11-01T01:35:00-05:00",
    "2026-11-04T00:15:00Z"
  ]
}

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": {
        "days": {
          "type": "integer"
        },
        "by_day": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "date": {
                "type": "string"
              },
              "events": {
                "type": "integer"
              }
            },
            "required": [
              "date",
              "events"
            ]
          }
        }
      },
      "required": [
        "days",
        "by_day"
      ]
    },
    "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 โ†’