Classify

Classify

Beta. Runs typed classification questions (noul, choice, score) against the native classify model typesafe/jev-latest or a chat model that supports classify. Chat models answer through one structured-output call and their probabilities are model-reported rather than calibrated. The request and response follow the TypeSafe classification contract; model in the response echoes the request and usage carries the computed cost like the Responses API. This endpoint currently does not apply PII plugins or guardrails.

post/v3/router/classify

Request body

metadataobject

Key-value metadata attached to the trace.

modelstring required

ID of the model to use: the native classify model typesafe/jev-latest, or a chat model that supports classify.

namestring

The name to display on the trace. If not specified, the default system name will be used.

questionsobject required

Typed questions keyed by an identifier of your choice. Each answer is returned under the same key.

Response

Returns one answer per question.

answersobject required

Answers keyed by the question identifiers from the request.

modelstring required

The model ID from the request.

Changes

Changed in 1 of the 350 revisions of this API.1

    • ●

      removed the optional property from the response with the status

      response-optional-property-removed

    This revision also has 40 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 350 revisions, 136 have no diff computed.