GET /runs/{run_id} until a run finishes, you register an endpoint
once and Axilio sends it a signed POST when the run completes.
Event reference
Every event type, when it fires, and what its payload contains.
Runs
The run lifecycle the
run.* events report.Register a destination
- Open Settings > Webhooks in the dashboard.
- Click Register Destination and enter a public
https://URL. - Choose the event types to receive, or subscribe to all of them.
- Copy the signing secret. It starts with
whsec_and is shown once.
run.failed should not
receive session.started.
The request
Every delivery is aPOST with a JSON body in the same shape:
id: unique per event. The same value is in thewebhook-idheader. Use it to discard a duplicate.type: the event type you subscribed to.occurred_at: when the change happened, in UTC.test:trueonly on a test you sent yourself.data: the resource the event is about. It uses the same field names as the API, and carries ids, statuses, reasons and timestamps only.
Payloads never contain your content: no run variables or outputs, no file
bytes, no recordings and no download links. Fetch those through the API with
your own key when you need them.
Verify the signature
Axilio signs every request with the Standard Webhooks scheme. Each request carries three headers:webhook-id, webhook-timestamp
and webhook-signature. Verify them with any Standard Webhooks library before
you trust the body.
- Python
- Node.js
Delivery guarantees
- At least once. Respond with any
2xxas soon as you have the event, and do slow work afterwards. On any other response, or none, Axilio retries after 30 seconds, 2 minutes, 5 minutes, 15 minutes and 1 hour. - Duplicates are possible. A retry or a network failure can deliver the same
event twice. Keep the
idof events you have handled and skip repeats. - Order is not guaranteed.
run.completedcan arrive beforerun.started. Compareoccurred_at, or fetch the resource, rather than relying on arrival order. - Failed deliveries stay replayable. The dashboard’s delivery log shows every attempt and its response. Replay a failed event once your endpoint is fixed.
Send a test
On a destination’s page, click Test and pick an event type. Axilio delivers that type’s example payload to that destination only, with"test": true. Every event type in the reference can be
tested this way before the real event ever fires.
Next steps
Event reference
What each event means and carries.
Sessions and timeouts
Why a session ends, which
session.ended reports.