R
RunPod5mo ago
papanton

webhooks custom updates

Does the job webhook get invoked with runpod.serverless.progress_update calls?
13 Replies
kopyl
kopyl5mo ago
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.
papanton
papanton5mo ago
thank you!
flash-singh
flash-singh5mo ago
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
kopyl
kopyl5mo ago
Oh. Since when you have this change?
flash-singh
flash-singh5mo ago
it was there all the time since we introduced progress update
justin
justin5mo ago
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.
flash-singh
flash-singh5mo ago
you mean with webhookV2?
justin
justin5mo ago
Yeah with webhookv2 as an option
kopyl
kopyl5mo ago
I don't see anything on webhookV2, it's actually a surprise for me
flash-singh
flash-singh5mo ago
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
justin
justin5mo ago
Ooo interesting, haha, i was wondering why i couldn't find it on the github 👁️, was searching around for it
ashleyk
ashleyk5mo ago
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.
flash-singh
flash-singh5mo ago
yes you can use webhookV2