Classification Response Format
Classify returns the single best-matching category for a document, along with a confidence score and the reasoning behind the decision. This page explains every field in the response.
Response structure
A completed classify run looks like this (truncated for brevity). The classification result lives in output.
Top-level fields
The classification output
output holds a single matched classification. It is present when status is "PROCESSED".
Confidence
confidence is a number from 0 to 1 reflecting how sure the processor is about the match, and is returned by default on classification_instant and classification_standard (>= 1.2.0). Use it to gate downstream processing — for example, route any classification below a threshold to manual review.
Insights
insights is an array of additional notes about the classification decision (empty [] when no insights are emitted for the run, such as on classification_instant and classification_standard >= 1.2.0). When present, each insight has a type and content.

