Monitoring with Webhooks
As syncs occur Ragie can inform your systems of these events with webhooks. As connections sync the following events connector specific webhook events can be subscribed to:
connection_sync_started
connection_sync_progress
connection_sync_finished
These webhooks provide a payload that includes data like:
connection_id: str
sync_id: str
partition: str
connection_metadata: dict[str, Any]
total_creates_count: int
created_count: int
total_contents_updates_count: int
contents_updated_count: int
total_metadata_updates_count: int
metadata_updated_count: int
total_deletes_count: int
deleted_count: int
Applications that subscribe to these webhooks can tailor their user experience based on whether a user has synced their documents and whether that sync is complete. For instance, an application may want to enable RAG for gen ai features if a sync has occurred and it is at least half complete.
For more information on webhooks in Ragie, check out our guide.
Updated 23 days ago
What’s Next