Skip to main content
Webhooks allow you to receive real-time notifications for events in your Agentset organization. All webhook payloads follow this format:
webhook-payload.json
There are two categories of webhook events:

Document events

These events are triggered when documents change state during processing:

document.queued

Triggered when a new document is queued for processing.
document.queued

document.queued_for_resync

Triggered when an existing document is queued for reprocessing.
document.queued_for_resync

document.queued_for_deletion

Triggered when a document is queued for deletion.
document.queued_for_deletion

document.processing

Triggered when a document starts processing (parsing, chunking, embedding).
document.processing

document.error

Triggered when document processing fails. The error field contains the error message.
document.error

document.ready

Triggered when a document has been successfully processed and is ready for search.
document.ready

document.deleted

Triggered when a document has been deleted from the namespace.
document.deleted

Ingest job events

These events are triggered when ingest jobs change state. Ingest jobs are used for batch document ingestion (e.g., crawling a website or processing multiple files).

ingest_job.queued

Triggered when a new ingest job is queued.
ingest_job.queued

ingest_job.queued_for_resync

Triggered when an existing ingest job is queued for reprocessing.
ingest_job.queued_for_resync

ingest_job.queued_for_deletion

Triggered when an ingest job is queued for deletion.
ingest_job.queued_for_deletion

ingest_job.processing

Triggered when an ingest job starts processing.
ingest_job.processing

ingest_job.error

Triggered when an ingest job fails. The error field contains the error message.
ingest_job.error

ingest_job.ready

Triggered when an ingest job completes successfully.
ingest_job.ready

ingest_job.deleted

Triggered when an ingest job has been deleted.
ingest_job.deleted