flightbox Docs

Webhooks

Set webhook_url per batch (API/SDK) or FB_WEBHOOK_URL server-wide. On completion Flightbox POSTs JSON; the text field makes it Slack-ready:

{
  "text": "Flightbox batch batch_…: 5/6 passed — failures: checkout--claude-cu--2 (grounding)",
  "batch_id": "batch_…", "suite_id": "suite_…", "status": "completed",
  "passed": 5, "total": 6,
  "report": "/artifacts/batches/batch_…/report/index.html",
  "runs": [{ "run_id": "…", "success": true, "failure_class": null, "cost_usd": 0.35 }]
}

Delivery is best-effort with a 10s timeout; webhook failure never fails a batch.