Textwerk
ticket route
Category scores are cosine similarities of embeddings computed locally with intfloat/multilingual-e5-small (MIT, about 100 languages, "query: " prefix as the model card prescribes for classification, mean pooling, int8 ONNX from the model repository, pinned revision, SHA-256 checked): message vs. "label: description", and, if examples are given, the best-matching example; with examples the score is 0.5 x description + 0.5 x best example. A small margin between the first two categories sets.
POST https://text.halowerk.com/v1/ticket-routeInputs
| Field | Type | Required | Description |
|---|---|---|---|
| message | string | Yes | |
| categories | array | Yes | |
| min_margin | number | No | Below this gap between rank 1 and 2 the ticket is flagged for review. |
| top_k | integer | No |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"message",
"categories"
],
"properties": {
"message": {
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"categories": {
"type": "array",
"minItems": 2,
"maxItems": 50,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"description": {
"type": "string",
"maxLength": 1000
},
"team": {
"type": "string",
"maxLength": 100
},
"examples": {
"type": "array",
"maxItems": 20,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 1000
}
}
}
}
},
"min_margin": {
"type": "number",
"minimum": 0,
"maximum": 0.2,
"default": 0.01,
"description": "Below this gap between rank 1 and 2 the ticket is flagged for review."
},
"top_k": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 3
}
}
}Published input example
{
"message": "Mir wurde der Betrag für März doppelt abgebucht.",
"categories": [
{
"id": "billing",
"label": "Rechnung und Zahlung",
"description": "Fragen zu Rechnungen, Abbuchungen, Erstattungen",
"team": "Buchhaltung"
},
{
"id": "tech",
"label": "Technischer Support",
"description": "Login, Fehlermeldungen, App-Probleme",
"team": "IT"
}
]
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Textwerk0.002 USDC
acronym ideas
POSThttps://text.halowerk.com/v1/acronym-ideasSplits the title into words, marks German and English stop words (and, of, für, und ), and enumerates in word order every combination of the first 1-3 letters of each significant word (stop words contribute 0 or 1 letter when allowed), with
- Textwerk0.005 USDC
agg check
POSThttps://text.halowerk.com/v1/agg-checkApplies documented rules to the ad text and its first line or title: explicit age limits and age ranges, youth-related team wording and career-stage target groups (age); native-speaker, accent and origin requirements, nationality (ethnic or
- Textwerk0.002 USDC
anglicism replace
POSThttps://text.halowerk.com/v1/anglicism-replaceLooks up every word in about 1,050 entries that OpenThesaurus (export 2026-10-30, LGPL-2.1 or CC BY-SA 4.0) labels English, Anglicism or Denglisch, matching inflected forms from german-pos-dict 1.2.2 (CC BY-SA 4.0) and English heads of comp