Webhook map
batchescompleted(batches.completed)
byomrequestFailed(byom.requestFailed)
episodesprocessed(episodes.processed)
HTTP handler setup
app/api/webhook/route.ts
Events
Batches
Completed
batches.completed
A Batch API batch finished as succeeded, canceled, or partial from canceled items (ingest.batch.completed).
Payload
Response data full type
Response data full type
webhookHooks example
Byom
Request Failed
byom.requestFailed
Bring-your-own-LLM requests failed in the last window (byom.request_failed, aggregated per 60 s or more).
Payload
Response data full type
Response data full type
webhookHooks example
Episodes
Processed
episodes.processed
An episode finished processing and was added to a graph (episode.processed).
Payload
Response data full type
Response data full type
webhookHooks example