Skip to content
HALOWERK

File Formats and Conversion

wave header transfer block plan

WAV transfer planning returns the largest whole-frame block fitting a byte budget and the payload block count. Use it when an agent needs splitting audio for transport without breaking sample frames.

POST https://format.halowerk.com/v1/wave-header-transfer-block-plan

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
header_base64stringYes
max_bytesintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "header_base64": {
      "type": "string",
      "maxLength": 12010,
      "minLength": 1
    },
    "max_bytes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 8000000
    }
  },
  "required": [
    "header_base64",
    "max_bytes"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "header_base64": "UklGRvoZAABXQVZFZm10IBAAAAABAAIAESsAACJWAAACAAgAZGF0YdYZAAA=",
  "max_bytes": 512
}

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": {
        "frames_per_block": {
          "type": "integer"
        },
        "block_bytes": {
          "type": "integer"
        },
        "blocks": {
          "type": "integer"
        },
        "partial_frame_bytes": {
          "type": "integer"
        }
      },
      "required": [
        "frames_per_block",
        "block_bytes",
        "blocks",
        "partial_frame_bytes"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub โ†’