DocumentationReference1 July 2026Examin Engineering

API and webhooks reference

Everything Examin detects is available to your systems the moment it is verified. This reference covers the event model, webhook delivery, and the REST endpoints most integrations need on day one.

The event model

Every detection, from a PPE violation to a counted pallet, is an event with a shared envelope: a stable id, the event type, the camera and zone, a UTC timestamp, a confidence score, module-specific payload fields, and evidence frame references. Events are immutable; human review adds a resolution record rather than editing the event.

Webhook delivery

Register an HTTPS endpoint per event type or subscribe to all. Deliveries are POST requests with an HMAC-SHA256 signature header (X-Examin-Signature) computed over the raw body with your signing secret. A representative payload:

{
  "id": "evt_9f4c2a81",
  "type": "safety.ppe_violation",
  "created": "2026-07-01T06:24:11Z",
  "site": "plant-oradea-01",
  "camera": "cam-12",
  "zone": "loading-area-c",
  "confidence": 0.94,
  "payload": {
    "rule": "hi_vis_required",
    "person_count": 1,
    "duration_s": 14
  },
  "evidence": {
    "frame_url": "https://api.examin.ai/v1/evidence/evt_9f4c2a81/frame",
    "clip_url": "https://api.examin.ai/v1/evidence/evt_9f4c2a81/clip",
    "expires": "2026-07-15T06:24:11Z"
  }
}

Respond with any 2xx within 10 seconds. Non-2xx responses are retried with exponential backoff (1 min, 5 min, 30 min, 2 h, 12 h) for up to 24 hours, after which the event remains queryable over REST but is marked undelivered.

Evidence frames

Evidence URLs are authenticated and time-limited; the expiry mirrors the retention window configured for the event class. Fetch and store them in your own system only if your retention policy requires it, and remember that doing so makes you responsible for deleting them on schedule.

REST endpoints

  • GET /v1/events with filters for type, site, zone, camera, time range, confidence floor, and resolution status. Cursor-paginated.
  • GET /v1/events/:id for a single event with full payload and resolution history.
  • POST /v1/events/:id/resolution to record confirm/dismiss with an operator note, which feeds the exception queues in the console.
  • GET /v1/cameras and GET /v1/zones for topology, useful for building your own dashboards.
  • GET /v1/reports/daily?site=... for the same rollups the console shows, as JSON.

Authentication and limits

API keys are scoped per site and per capability (read events, read evidence, write resolutions) and sent as a bearer token. Rate limits are 600 requests per minute per key for REST; webhooks have no limit because we are the ones calling you. Keys rotate without downtime: two keys can be active during a rotation window.

Actuation outputs

Door relays, gate triggers, and line reject signals are configured on the edge device rather than over the public API, deliberately: a 90 ms reject decision cannot depend on a round trip to anyone's cloud, including ours. The API observes these actuations as events (actuation.*) so your systems always have the full record.

Related modules

Deployment window open

Put your cameras to work.

A 30-minute walkthrough on your own footage. See what the vision core finds on day one.