webhook_url, Valendata sends the finished run to that URL as a POST with a JSON body. The body is the same object GET /v1/runs/{run_id} returns.
A skill schedule with a webhook_url sends its runs the same way. See Schedule webhooks. Skill creations, improvements, speed trials, batches and background jobs take a webhook_url too; which jobs send what is in Hearing when a long job is done.
Delivery
webhook_urlmust behttporhttpson a public host. Private, loopback, and internal addresses are refused with422. Usehttps.- Delivery times out after 15 seconds. Redirects are not followed.
- A network error or a
5xxis retried up to two more times, a few seconds apart. A4xxis not retried. - Return any
2xxquickly, then do your work.
Verify the signature
Every delivery has two headers:v1= plus the hex HMAC-SHA256 of "<timestamp>.<raw body>", keyed with your signing secret. Get the secret once with GET /v1/webhooks/secret.
- Compute the signature over the raw body. Do not parse and re-serialize the JSON first.
- Split the header on commas and compare each value in constant time. Accept if any matches. (For 24 hours after you rotate the secret, it holds
v1=<new>,v1=<old>.) - Reject timestamps more than 5 minutes from now, to stop replays.
Schedule webhooks
A skill schedule with awebhook_url sends a run there when its notify_on says so. A workflow schedule with a webhook_url sends every run it fires, with event schedule.run_finished. Delivery, retries, and the signature are the same as above.
The body is the run as GET /v1/runs/{run_id} returns it, plus two fields:
With
delivery new or changes, rows holds only those rows. changes has the counts and a few examples:

