Skip to content
HALOWERK

Denkwerk

refusal detect

Rule-based, no model. Every sentence (ICU segmentation) is matched against 18 disclosed rules in English and German: direct refusals (first person + can't/cannot/won't + action verb; German first person + modal + negation + action verb), explicit declines, policy references, capability limitations, referrals to professionals, AI-identity disclaimers, apologetic openings, alternative offers and hedges. refusal: at least one strong signal, no alternative offer and fewer than 40 words in.

POST https://denk.halowerk.com/v1/refusal-detect

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
responsestringNoOne model response.
responsesarrayNoBatch of responses (alternative to response).
include_rulesbooleanNoReturn the full rule list with descriptions.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "response": {
      "type": "string",
      "minLength": 1,
      "maxLength": 50000,
      "description": "One model response."
    },
    "responses": {
      "type": "array",
      "minItems": 1,
      "maxItems": 500,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 20000
      },
      "description": "Batch of responses (alternative to response)."
    },
    "include_rules": {
      "type": "boolean",
      "default": false,
      "description": "Return the full rule list with descriptions."
    }
  }
}

Open original schema

Published input example

{
  "response": "I'm sorry, but I can't help with that request."
}

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

All endpoints in this hub โ†’