WebhooksEvents

Extract event

Hand off to an LLM

Delivered when an extract function completes processing of a document and produces structured JSON. The body's transformedContent matches the function's outputSchema.

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

V3 event variants that do not exist in the shared Event union.

ExtractEvent and ClassifyEvent are emitted only by V3-era function types (extract and classify). The shared Event union in specs/events/models.tsp predates these types and continues to describe V2 / V1-alpha responses verbatim; V3 response payloads add the new variants via the EventV3 union below while keeping every shared variant intact for backward compatibility.

POST/extract

See also