v36

OpenAPI 3.1.0raw.githubusercontent.com2026-08-0187270483.0 KB
Webhooks

Classify event

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.

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

postWebhookclassify

Payload

functionCallTryNumberinteger

The attempt number of the function call that created this event. 1 indexed.

eventIDstring required

Unique ID generated by bem to identify the event.

createdAtstring date-time

Timestamp indicating when the event was created.

referenceIDstring required

The unique ID you use internally to refer to this data point, propagated from the original function input.

eventType'classify'
functionCallIDstring

Unique identifier of function call that this event is associated with.

functionIDstring required

Unique identifier of function that this event is associated with.

functionNamestring required

Unique name of function that this event is associated with.

functionVersionNuminteger

Version number of function that this event is associated with.

callIDstring

Unique identifier of workflow call that this event is associated with.

workflowIDstring

Unique identifier of workflow that this event is associated with.

workflowNamestring

Name of workflow that this event is associated with.

workflowVersionNuminteger

Version number of workflow that this event is associated with.

choicestring required

The classification chosen by the classify function.

s3URLstring

The presigned S3 URL of the file that was classified.

Response

Return any 2XX status code to acknowledge receipt. The exact code is not inspected.