Skip to content
HALOWERK

Modellwerk

decoding speculative prefix ledger

Reconcile greedy speculative draft prefixes against supplied target-token verification rounds.

POST https://modell.halowerk.com/v1/decoding-speculative-prefix-ledger

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
roundsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "rounds": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "draft": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 64,
              "minLength": 1
            },
            "maxItems": 100,
            "minItems": 0
          },
          "target": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 64,
              "minLength": 1
            },
            "maxItems": 101,
            "minItems": 1
          }
        },
        "required": [
          "draft",
          "target"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 1
    }
  },
  "required": [
    "rounds"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "rounds": [
    {
      "draft": [
        "a",
        "b",
        "c"
      ],
      "target": [
        "a",
        "b",
        "x",
        "z"
      ]
    }
  ]
}

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