Eridian

Webhooks

Event subscriptions, delivery, retries, and payloads.

Webhooks push control-plane and inference events to an HTTPS endpoint you operate. Eridian delivers at-least-once with exponential backoff for 24 hours. Verify every payload as documented in Webhook Signing.

Create

POST /v1/webhooks
Authorization: Bearer eridian_sk_...
Content-Type: application/json
Idempotency-Key: wh-legal-siem-001
{
  "project_id": "prj_legal_001",
  "url": "https://siem.example.bank/webhooks/eridian",
  "events": [
    "inference.completed",
    "budget.threshold",
    "budget.exceeded",
    "key.rotated",
    "policy.updated",
    "approval.approved"
  ]
}
{
  "id": "wh_02c9",
  "object": "eridian.webhook",
  "status": "active",
  "secret": "whsec_...",
  "events": ["inference.completed", "budget.threshold"]
}

secret is returned once. Required scope: governance:manage. Endpoints must use HTTPS. Private networks are supported on Enterprise via allowlisted egress.

Event Envelope

POST /webhooks/eridian HTTP/1.1
Content-Type: application/json
X-Eridian-Signature: t=1718400000,v1=...
X-Eridian-Event: inference.completed
X-Eridian-Delivery-Id: del_91aa
X-Eridian-Webhook-Id: wh_02c9
{
  "id": "evt_55ab",
  "object": "eridian.webhook.event",
  "type": "inference.completed",
  "created_at": 1718400000,
  "project_id": "prj_legal_001",
  "data": {
    "request_id": "axm_req_8f3a2b1c",
    "route": "gpt",
    "cache_hit": false,
    "cost_usd": 0.0042,
    "region": "eu-west-1"
  }
}

Return HTTP 2xx within 10 seconds. Any other status is a failure.

Delivery and Retries

AttemptDelay
1Immediate
230s
32m
410m
51h
66h
Stop24h, then webhook.delivery.failed on the audit log

Disable a webhook with POST /v1/webhooks/wh_02c9/disable to stop retries.

List Deliveries

GET /v1/webhooks/wh_02c9/deliveries?starting_after=del_91aa
Authorization: Bearer eridian_sk_...

Replay a failed delivery:

POST /v1/webhooks/wh_02c9/deliveries/del_91aa/replay

Event Catalog

TypeTrigger
inference.completedInference finished (success or error)
usage.daily_summaryDaily rollup
budget.thresholdAlert threshold
budget.exceededHard stop
key.rotated / key.revokedKey lifecycle
policy.updatedGovernance mutation applied
approval.approved / approval.rejectedDual control
eval.run.completedEval finished
dev.review.completedEridian Dev review finished
dev.pull_request.summarizedPR summary finished
ops.incident.openedOps incident created
ops.incident.closedOps incident closed
ops.slo.burnOps error budget left healthy
risk.case.closedRisk case disposition recorded
risk.report.approvedRisk report dual-control approved

Vertical event catalogs: Ops Webhooks, Pull Requests. Subscribe only to events you will handle. Unused events still count against delivery rate limits.

See Webhook Signing and Budgets.

Production API credentials are issued with an institution workspace. Contact sales if you need access.