Skip to content
HALOWERK

Tonwerk

voice agent eval

Takes the turns of a voice-agent conversation (speaker, text, optional start/end times) and your goal criteria (required phrases per speaker, success and failure phrases). Without any language model it detects, with German and English phrase lists: agent fallback/no-match prompts, user requests for a human, agent transfers, user corrections, repeated user utterances and repeated agent prompts (normalised Levenshtein similarity >= 0.8 / 0.9), and with timestamps: response latency after each.

POST https://ton.halowerk.com/v1/voice-agent-eval

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
turnsarrayYes
goalobjectNo
ended_bystringNo
max_latency_snumberNo
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "turns"
  ],
  "properties": {
    "turns": {
      "type": "array",
      "minItems": 1,
      "maxItems": 500,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "speaker",
          "text"
        ],
        "properties": {
          "speaker": {
            "type": "string",
            "enum": [
              "agent",
              "user",
              "system"
            ]
          },
          "text": {
            "type": "string",
            "maxLength": 5000
          },
          "start_s": {
            "type": "number",
            "minimum": 0
          },
          "end_s": {
            "type": "number",
            "minimum": 0
          }
        }
      }
    },
    "goal": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "required": {
          "type": "array",
          "maxItems": 30,
          "items": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "name",
              "any_of"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 100
              },
              "any_of": {
                "type": "array",
                "minItems": 1,
                "maxItems": 20,
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                }
              },
              "speaker": {
                "type": "string",
                "enum": [
                  "agent",
                  "user",
                  "any"
                ],
                "default": "any"
              }
            }
          }
        },
        "success_phrases": {
          "type": "array",
          "maxItems": 30,
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          }
        },
        "failure_phrases": {
          "type": "array",
          "maxItems": 30,
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          }
        }
      }
    },
    "ended_by": {
      "type": "string",
      "enum": [
        "agent",
        "user",
        "system",
        "timeout",
        "unknown"
      ],
      "default": "unknown"
    },
    "max_latency_s": {
      "type": "number",
      "minimum": 0.2,
      "maximum": 10,
      "default": 2
    }
  }
}

Open original schema

Published input example

{
  "turns": [
    {
      "speaker": "agent",
      "text": "Guten Tag, wie kann ich helfen?"
    },
    {
      "speaker": "user",
      "text": "Ich möchte einen Termin am Freitag."
    },
    {
      "speaker": "agent",
      "text": "Ihr Termin am Freitag um 10 Uhr ist gebucht."
    }
  ],
  "goal": {
    "success_phrases": [
      "ist gebucht"
    ]
  },
  "ended_by": "agent"
}

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 →