Skip to content
HALOWERK

File Formats and Conversion

ndjson line validation offsets

NDJSON record validation: report invalid line numbers with UTF-8 byte offsets and record counts. Use it when an agent needs to repair a line-delimited handoff before streaming it.

POST https://format.halowerk.com/v1/ndjson-line-validation-offsets

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
ndjsonstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "ndjson": {
      "type": "string",
      "maxLength": 24000,
      "minLength": 1
    }
  },
  "required": [
    "ndjson"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "ndjson": "{\"code\":200,\"meaning\":\"OK\"}\n{\"code\":201,\"meaning\":\"Created\"}\n{\"code\":204,\"meaning\":\"No Content\"}\n"
}

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