Skip to main content
The Zep plugin handles incoming webhooks. Point your provider’s subscription URL at your Corsair HTTP handler (see Overview for setup context and the exact URL shape).
New to Corsair? See webhooks and hooks.

Webhook map

  • batches
    • completed (batches.completed)
  • byom
    • requestFailed (byom.requestFailed)
  • episodes
    • processed (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
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
webhookHooks example

Episodes

Processed

episodes.processed An episode finished processing and was added to a graph (episode.processed). Payload
webhookHooks example