Skip to content

Ongoing monitoring

Ongoing monitoring rechecks a customer every time a list they are screened against publishes new or changed entries. You do not need to re-screen your customer base after each list update.

Screen the customer with monitor: true and your own external_id:

Terminal window
curl https://api.auto-compliance.com/v1/screenings \
-H "Authorization: Bearer $AUTOCOMPLIANCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "full_name": "Ivan Petrov", "date_of_birth": "1971-03-14", "external_id": "cust_123", "monitor": true }'

The screening is returned as usual, with monitoring_id set. Screening the same external_id again with monitor: true updates the monitored name and date of birth instead of creating a second subject. To monitor a whole customer file, create a batch with monitor: true (JSON) or the form field monitor=true (file upload). Every row then needs external_id; rows without it are rejected as invalid items.

Without sources, rechecks follow the project’s default sources at the time of each list update, so a list you enable later is monitored too. With explicit sources, only those lists are monitored.

Monitoring stores the customer’s name, date of birth, country and metadata, so it is unavailable for organisations in zero-retention mode (422 with field: monitor). Switching an organisation to zero-retention stops all monitoring.

When a source publishes a version that adds or changes entries, every active subject that uses that source is rechecked against it with the project’s current threshold. You are notified about matches on entries that were added or changed in that version and have not been reported for this subject before. Entries returned when monitoring started are not reported again; an amended entry is reported again, as with the whitelist.

Each notification creates a screening (with monitoring_id, containing only the new matches) and an alert for review, and sends the monitoring.match webhook:

{
"id": "evt_...",
"type": "monitoring.match",
"livemode": true,
"data": {
"monitored_subject": { "id": "mon_...", "external_id": "cust_123", "status": "active", "...": "..." },
"screening": { "id": "scr_...", "hit": true, "matches": ["..."], "monitoring_id": "mon_...", "...": "..." }
}
}

Subscribe an endpoint to monitoring.match (see Webhooks). Rechecks also appear in the portal’s alert queue and history, marked as monitoring.

Request Purpose
GET /v1/monitored-subjects?status=active List subjects, newest first (pagination). Filter by external_id.
GET /v1/monitored-subjects/{id} Retrieve one subject, including last_checked_at and last_match_at.
DELETE /v1/monitored-subjects/{id} Stop monitoring. The stored personal data is deleted and input becomes null.

In the sandbox (ak_test_ keys) subjects are rechecked only when the sandbox test lists change.

Rechecks are not charged as screenings. Monitoring is billed per customer monitored at any time during the calendar month; a customer stopped mid-month is still billed for that month. The enrolling screening is billed as a normal screening.