Recommended incident configuration
Start a new actor run with a long retention window and alerting enabled so you can capture and triage events over the full incident window:Identify failed events
Use the/logs query API to find events that need attention. Authenticate with your authKey using the Authorization header:
Review payload and error context
Retrieve the full detail for a specific log entry:If forwarding failed after a webhook was captured, the original ingress event is still stored independently, so the original payload is always available for replay. Check
/system/metrics to see forwarding error counts and last sync time.Replay to your fixed endpoint
Once you patch the downstream service, replay the original captured event. The actor sends the original method and payload, addsX-Apify-Replay: true and an idempotency key, and strips masked or transport-managed headers before forwarding.
Replay a single event:
Bulk replay with offset pagination
To replay a large batch of failed events, page through/logs with statusCode[gte]=400 and replay each entry. Use offset pagination to move through the full result set:
nextOffset and nextPageUrl for easy iteration:
id in the results, issue a replay request to your fixed endpoint.
Set up alerts to catch failures proactively
ConfigurealertOn with the failure conditions you want to know about immediately. The actor posts a notification to Slack or Discord when any matching condition occurs: