Evaluation webhooks report the outcomes of evaluations run against transcripts. Configure them on the project’s endpoint in Settings → Monitoring (or Settings → Webhooks before monitoring is enabled). They use that endpoint’s signing secret; follow request verification before processing a payload.
Choose an event
Webhook delivery is not ordered. Do not require the session event, transcript summary, individual results or batch event to arrive in a particular sequence. A later successful retry sends another per-evaluation event; it does not send a second transcript.evaluated summary.
Subscribe to evaluation events
Choose Listen for specific events in Settings → Monitoring (or Settings → Webhooks before monitoring is enabled), then select the events you need under Evaluation events:
- Transcript evaluated —
transcript.evaluated. - Evaluation completed —
transcript.evaluation.completed. - Evaluation batch completed —
transcript.evaluation.batch.completed.
Wait for Saved. None of these three events is included in Listen for all events. Selecting a category or individual event is an explicit subscription. Allow up to 60 seconds for a subscription change to reach the evaluation sender’s cache.
Envelope and transcript identifiers
Each JSON payload below includes all fields for that event. The IDs and evaluation results are illustrative.
The two transcript events share data.transcriptID, data.sessionID, data.projectID and data.environmentID, all strings. data.projectEnvironmentID is also present and is a string or null. Use the returned identifiers to correlate records; do not infer an Environment alias from an ID. endedAt, evaluatedAt, startedAt and completedAt are Unix milliseconds.
Evaluation result shapes
Every evaluation entry has evaluationID, name, type and status. Its type is boolean, number, string or option. The status selects the remaining fields:
retrying and failed entries do not contain value or reason; a succeeded entry does not contain error.
The transcript summary always has trigger: "session". A batch completion has ui or api; a per-evaluation event can have any of the four values.
transcript.evaluated
Sent once for an ended session after every evaluation queued at session end has run once. evaluations contains all those outcomes, including retrying or failed entries. If no evaluations were queued, the event is sent with evaluations: []. endedAt records the session end; evaluatedAt records when the summary was produced.
Creating or enabling an evaluation does not itself produce this event or evaluate historical transcripts. Start an eligible new session or explicitly queue existing transcripts.
transcript.evaluation.completed
Sent each time one evaluation finishes running on one transcript, regardless of what started it. evaluation uses one of the result shapes above. evaluatedAt records this run’s result time.
attempt is the number of stored failures for this evaluation/transcript pair plus one: the first run has attempt 1. It is not the webhook delivery-attempt count. batchID is a string when the run belongs to a tracked batch, otherwise null.
This example is the later successful retry of Conversation summary from the preceding transcript summary. It does not cause that summary to be sent again.
transcript.evaluation.batch.completed
Sent once when the queued work for an app- or API-started batch has finished. The batch has batchID, projectID, trigger, status, evaluationIDs, startedAt, completedAt and counts. evaluationIDs lists the string IDs requested for that batch. A batch spans transcripts and does not have one shared session or Environment identifier.
counts.transcripts counts queued transcripts. The other counts describe evaluation runs: succeeded, retrying, failed and skipped. Skipped work includes work held back by queue throttling or work that never ran, such as a deleted transcript. These counts describe the batch completion, not the eventual outcome of later retries.
The following independent example is an API batch of three evaluations across two transcripts: six evaluation runs in total.
Correlate a queued batch
For the direct analytics endpoint POST /v1/transcript-evaluation/queue, retain the optional batchID returned in the queue response. It is omitted when nothing was queued. Match it to data.batchID on the batch event and on its per-evaluation events.
The current Platform API’s Queue evaluation runs response returns counts and an optional warning; it does not currently expose this batchID. Preserve the response contract for the endpoint you actually call.
Delivery limits
Do not treat these notifications as an ordered or exhaustive audit log. Evaluation execution can succeed even if webhook sending fails. A worker crash before sending, a failed queue operation at session end, or an incomplete service rollout can leave a notification missing. Losing the batch tracker can lose its completion notification without cancelling the evaluations.
Use Transcripts and the evaluation reference to inspect stored outcomes when a notification is missing. Keep later per-evaluation retry results separate from the once-per-session summary and the batch’s original completion counts.