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.
You will receive a POST request to the webhook URL with the following or similar payload:
Copy
{ "event": { "memoryID": "26651465-d9ae-415c-92ee-94f675fc9836", "batchID": "6ec30ec4-3c26-4a3e-98b3-8d713a44a797", "totalSamples": 2, "processedSamples": 2, "status": "processing", "message": "Graph ingestion in progress. This may take a few minutes." }, "timestamp": "2024-12-16T06:30:20.191Z"}
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: