Skip to content
HALOWERK

Textwerk

string minimum subsequence window

Return the shortest contiguous text window containing the supplied pattern as an ordered subsequence.

POST https://text.halowerk.com/v1/string-minimum-subsequence-window

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYes
patternstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 1024
    },
    "pattern": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1
    }
  },
  "required": [
    "text",
    "pattern"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "text": "abcdebdde",
  "pattern": "bde"
}

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 →