Skip to content
HALOWERK

Codewerk

stacktrace group

Splits a log block into individual traces (or takes a list), parses exception type, message and frames, separates library frames (node_modules, site-packages, java.*, runtime/ and similar) from application frames, and groups traces by a fingerprint of language, root-cause type and the top five in-app frames without line numbers. For each group it reports the count, a normalized message template, the root cause (innermost "Caused by" in Java, the first exception of a chained Python traceback,.

POST https://code.halowerk.com/v1/stacktrace-group

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringNo
tracesarrayNo
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "text": {
      "type": "string",
      "minLength": 10,
      "maxLength": 5000000
    },
    "traces": {
      "type": "array",
      "minItems": 1,
      "maxItems": 2000,
      "items": {
        "type": "string",
        "minLength": 10,
        "maxLength": 200000
      }
    }
  }
}

Open original schema

Published input example

{
  "text": "TypeError: Cannot read properties of undefined (reading 'id')\n    at getUser (/app/src/users.js:14:22)\n    at async handler (/app/src/routes.js:40:5)"
}

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 โ†’