Skip to content
HALOWERK

Text Tools

page checkbox option order

Web form extraction returns checkbox values and labels in document order for one field name. Use it when an agent needs the checklist sequence for rendering an equivalent choice.

POST https://text.halowerk.com/v1/page-checkbox-option-order

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
urlstringYes
reuse_licenseSee schemaNo
namestringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "maxLength": 600,
      "minLength": 1
    },
    "reuse_license": {
      "enum": [
        "own-content",
        "CC0",
        "CC-BY-4.0",
        "public-domain"
      ]
    },
    "name": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1
    }
  },
  "required": [
    "url",
    "name"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "url": "https://design-system.service.gov.uk/components/checkboxes/with-none-option-in-error/index.html",
  "name": "countries"
}

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": {
        "choices": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "value": {
                "type": "string"
              },
              "text": {
                "type": "string"
              }
            },
            "required": [
              "value",
              "text"
            ]
          }
        }
      },
      "required": [
        "choices"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub →