What Are Webhooks?
Instead of polling for prediction results, you can provide awebhook_url when creating a prediction. each::labs will POST the result to your URL when the prediction completes.
Currently, webhooks are only supported for Workflows V2. Support for other services is being expanded.
How It Works
1
Provide a webhook URL
Include
webhook_url (and optionally webhook_secret) when creating a prediction.2
Prediction runs
The model processes your input asynchronously.
3
Result delivered
When complete, each::labs POSTs the result to your webhook URL.