Skip to content
HALOWERK

Text Tools

jsonfeed handoff tag routing

Feed tag routing returns the matching item IDs for each requested editorial tag. Use it when an agent needs routing headlines to topic queues.

POST https://text.halowerk.com/v1/jsonfeed-handoff-tag-routing

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
itemsarrayYes
tagsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 400,
            "minLength": 1
          }
        },
        "required": [
          "id"
        ]
      },
      "maxItems": 100,
      "minItems": 1
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 80,
        "minLength": 1
      },
      "maxItems": 8,
      "minItems": 1
    }
  },
  "required": [
    "items",
    "tags"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "items": [
    {
      "id": "us6000udhb",
      "tags": [
        "us",
        "earthquake"
      ]
    },
    {
      "id": "us6000udfu",
      "tags": [
        "us",
        "earthquake"
      ]
    }
  ],
  "tags": [
    "us",
    "earthquake"
  ]
}

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": {
        "routes": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "tag": {
                "type": "string"
              },
              "matches": {
                "type": "integer"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "required": [
        "routes"
      ]
    },
    "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 →