webhooks custom updates
Does the job webhook get invoked with
runpod.serverless.progress_update
calls?16 Replies
No, the job webhook is only invoked when the job is completed, failed, or timed out. The
runpod.serverless.progress_update
calls are for sending progress updates to the /status
endpoint and do not trigger the webhook.thank you!
yes they are included with webhooks
our new version of webhook includes even in progress events but doesn't include input anymore, use
webhookV2
instead of webhook
Oh. Since when you have this change?
it was there all the time since we introduced progress update
https://docs.runpod.io/serverless/endpoints/send-requests
Wish docs get updated or maybe i should dive into the library to see if there is comments in the code huh
Send a request | RunPod Documentation
The method in which jobs are submitted and returned.
you mean with webhookV2?
Yeah with webhookv2 as an option
I don't see anything on webhookV2, it's actually a surprise for me
yep i coded it but not sure if its the best way to release the change so its sort of hidden for now, also thinking of updating all endpoints to v3
Ooo interesting, haha, i was wondering why i couldn't find it on the github 👁️, was searching around for it
Whats the latest on
webhookV2
? Can people use it or is it in development or must we wait for endpoints to be updated to v3? I'm confused.yes you can use
webhookV2
Can someone give me the TL;DR; for serverless webhooks? I've just started with RunPod and I'm planning to host some production inference jobs. Should I be using webhook or webhookV2?
You can also provide updates, that you can check using the status API call.
In this example I am I am providing Web socket URL as an update. This works with async RUN call.