API Documentation
Status Webhooks
To help you monitor the status of graph ingestion, duohub allows you to register webhooks to receive status updates.
Registering a Webhook
You can register a webhook by adding a a webhook URL to the webhookUrl
property when creating a memory.
See more details in the Create Memory endpoint.
Alternatively, you can register a webhook when creating a memory using the dashboard.
You will find the field in the “Settings” section of the memory creation workflow.
Webhook Payloads
You will receive a POST request to the webhook URL with the following or similar payload:
You will receive a POST request to the webhook URL at the following events:
- Graph ingestion starting
- Graph ingestion waiting for compute environments
- Graph ingestion in progress
- All samples completed, starting graph generation
- Graph ingestion and generation complete
The status field is an enum with one of the following values:
If you update a graph, you will receive the aforementioned sequence of events again.