LLM-readable documentation index
WebhooksEvents

Classify event

Hand off to an LLM

Delivered when a classify function chooses a category for a document. The selected label is in choice and matches one of the function version's declared classifications. When the classification model reports them, confidence and probabilities describe how certain it was; both are omitted otherwise.

For signing-secret setup and retry semantics that apply to every variant, see the Webhooks overview.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

Example Requests

POST/classify

See also