API
Guide

Webhooks

Pass webhook_url in the JSON body when starting a run and Riveter POSTs the full results to your URL when it finishes (events: run.completed, run.stopped, run.finished). A dataset's generation run takes webhook_url and its auto-fill fill_webhook_url. Your endpoint should return a 2xx. Transient failures (network errors, 5xx, 408, 425, 429) are retried up to 2 times; any other 4xx response is treated as a rejection of the payload and is not retried. A delivery that was rejected or ran out of retries is recorded on the run: error.message on GET /runs/{id} carries the response status and the first 1,000 characters of its body.

The payload:

{
  "event": "run.completed",
  "run_key": "<uuid>",
  "status": "success",
  "enrichment_uuid": "<uuid>",
  "credits_used": 2.5,
  "completed_at": "2026-01-15T12:00:00Z",
  "formatted_data": { "Company": [{ "value": "Apple" }], "Revenue": [{ "value": "383000000000" }] },
  "status_details": { "...": "flat status fields" },
  "run_status": { "run_key": "...", "status": "success", "...": "..." }
}

run_key is the run id without the run_ prefix. formatted_data is the same output that GET /runs/{id}/result returns: columnar for an inline run, { "rows": [...] } for a dataset fill, which also adds dataset_id. A monitor's run adds monitor_id. Extraction runs use extraction_plan_run.* events and add extraction_plan_uuid, run_state, and records_count.