Skip to content
HALOWERK

Tonwerk

transcript redaction time plan

Return redaction times for UTF16 spans. Words are [start_s,end_s,from,to].

POST https://ton.halowerk.com/v1/transcript-redaction-time-plan

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYes
wordsarrayYes
spansarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 10000,
      "minLength": 1
    },
    "words": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number",
          "minimum": 0,
          "maximum": 1000000
        },
        "minItems": 4,
        "maxItems": 4
      },
      "maxItems": 100,
      "minItems": 1
    },
    "spans": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "from": {
            "type": "integer",
            "minimum": 0,
            "maximum": 10000
          },
          "to": {
            "type": "integer",
            "minimum": 1,
            "maximum": 10000
          }
        },
        "required": [
          "from",
          "to"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 1
    }
  },
  "required": [
    "text",
    "words",
    "spans"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "text": "HALOWERK builds services.",
  "words": [
    [
      1,
      2,
      9,
      15
    ]
  ],
  "spans": [
    {
      "from": 9,
      "to": 15
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub โ†’