Skip to content
HALOWERK

Text Tools

page select choice page

Web page select pagination returns a numbered slice of option labels and their group context. Use it when an agent needs a deterministic page of choices from a long menu.

POST https://text.halowerk.com/v1/page-select-choice-page

Inputs

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

Open original schema

Published input example

{
  "url": "https://design-system.service.gov.uk/components/select/default/index.html",
  "name": "sort",
  "start": 1
}

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": {
        "total": {
          "type": "integer"
        },
        "more": {
          "type": "boolean"
        },
        "choices": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "label": {
                "type": "string"
              },
              "group": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "label",
              "group"
            ]
          }
        }
      },
      "required": [
        "total",
        "more",
        "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 →