Skip to content
HALOWERK

File Formats and Conversion

csv keyed latest record per group

CSV latest record returns the newest record per key and the number of superseded rows. Use it when an agent needs to materialize a current snapshot from dated tabular versions.

POST https://format.halowerk.com/v1/csv-keyed-latest-record-per-group

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYes
keysarrayYes
date_columnstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 7500,
      "minLength": 1
    },
    "keys": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 90,
        "minLength": 1
      },
      "maxItems": 12,
      "minItems": 1
    },
    "date_column": {
      "type": "string",
      "maxLength": 90,
      "minLength": 1
    }
  },
  "required": [
    "text",
    "keys",
    "date_column"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "text": "date,type,percent\n2025-09-30,Treasury Bills,4.187\n2025-09-30,Treasury Notes,3.112\n2025-09-30,Treasury Bonds,3.327\n2024-10-31,Treasury Bills,4.901\n2024-10-31,Treasury Notes,2.766\n2024-10-31,Treasury Bonds,3.205\n",
  "keys": [
    "type"
  ],
  "date_column": "date"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-19 UTC.

More endpoints in this hub

All endpoints in this hub โ†’