Denkwerk
toxicity score
Scores English texts for toxicity with unitary/unbiased-toxic-roberta (Detoxify "unbiased", RoBERTa-base), run as an int8 ONNX export through transformers.js/ONNX Runtime. Returns sigmoid scores per label (multi-label); texts are scored one by one and truncated at 512 tokens (flagged). English only: texts are checked with franc-min and skipped with a reason when English ranks more than 10 % below the best language. At most 32 texts and 8,000 model tokens per call.
POST https://denk.halowerk.com/v1/toxicity-scoreInputs
| Field | Type | Required | Description |
|---|---|---|---|
| text | string | No | |
| texts | array | No | |
| threshold | number | No | Labels at or above this score are listed as flagged. |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 5000
},
"texts": {
"type": "array",
"minItems": 1,
"maxItems": 32,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 5000
}
},
"threshold": {
"type": "number",
"minimum": 0.01,
"maximum": 0.99,
"default": 0.5,
"description": "Labels at or above this score are listed as flagged."
}
}
}Published input example
{
"texts": [
"Thank you so much for your help, have a great day!",
"You are a stupid idiot and nobody likes you."
]
}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
- Denkwerk0.003 USDC
agent card generate
POSThttps://denk.halowerk.com/v1/agent-card-generateBuilds an Agent2Agent protocol Agent Card with protocolVersion, name, description, url, version, capabilities, default input/output modes and skills. Skills come from the supplied list or are derived from OpenAPI operations (operationId, su
- Denkwerk0.003 USDC
agent permission diff
POSThttps://denk.halowerk.com/v1/agent-permission-diffTakes the tool names (with optional descriptions) and permission scopes of an agent before and after a change and reports added and removed tools and scopes, classifies new capabilities by risk (payments, sending messages, deleting or writi
- Denkwerk0.003 USDC
annotation guide draft
POSThttps://denk.halowerk.com/v1/annotation-guide-draftTakes example texts per label and derives, without a language model, the most distinguishing terms per label (TF-IDF contrast against the other labels), representative examples, cross-label example pairs with high similarity that need a wri