Monitor
API reference
LENS events
/lens — events, batches, feedback, detection settings and usage.
https://api.didconnect.xyz/lens| Route | |
|---|---|
POST /events | Records an event; 201, or 200 with duplicate: true |
POST /events/batch | { events }, 1 to 100; one line per event |
GET /events | ?subject=&decision=&limit=&before= |
GET /events/:id | An event with its score and alerts |
POST /feedback | { target_type, target_id, label, note? } |
GET /feedback | Feedback of the project |
GET /alerts | ?status=&severity=&subject= |
GET /detection-settings · PATCH /detection-settings | Thresholds of the detections |
GET /usage | ?from=&to=&daily=true |
POST /events
{
"external_id": "txn_88213",
"source": "core-banking",
"occurred_at": "2026-11-30T15:10:00Z",
"rail": "ach",
"operation": "withdrawal",
"direction": "outbound",
"status": "completed",
"amount": 12400,
"currency": "USD",
"subject": { "reference": "cus_10442", "name": "Emily Carter", "country": "US" },
"counterparty": { "reference": "ext_acct_51", "account": "****6789", "country": "US" },
"device_id": "dev_a91f",
"ip": "73.162.10.4",
"metadata": {}
}{ "id": "evt_…", "external_id": "txn_88213", "source": "api:core-banking", "score": 34, "alert_ids": [], "duplicate": false }target_type of feedback: alert, event, decision, subject (then target_id is your
reference). label: fraud, false_positive, chargeback, legitimate, money_laundering,
account_takeover.

