IDCanopy Developers

Query monitoring results

Poll the alerts of your monitored subjects with a cursor, and triage what they mean

Provisional. Monitoring is not yet available, and these operations may still change before it is.

Retrieve and review changes to monitored subjects.

GET /aml-screening/monitoring/alerts lists the alerts of all your monitored subjects, ordered by updated_at then alert_id, oldest first, one page at a time. An alert is a match found for a monitored subject, not a decision: like a hit, it is a candidate for review.

Query parameters

ParameterTypeDescription
subject_idUUIDOnly the alerts of this subject.
statusstringOnly alerts with this status (see below).
sincedate-timeOnly alerts with updated_at at or after this time. Ignored with cursor.
cursorstringThe next_cursor of the previous page, unchanged.
limitinteger1 to 100, default 50.

Polling

  1. Start without cursor, optionally with since and filters:
curl -s "$UMBRELLA_BASE_URL/aml-screening/monitoring/alerts?limit=50" \
  -H "Authorization: Bearer $ACCESS_TOKEN"
  1. Every page returns a next_cursor, also an empty one. While has_more is true, call again at once with next_cursor:
curl -s "$UMBRELLA_BASE_URL/aml-screening/monitoring/alerts?cursor=$NEXT_CURSOR" \
  -H "Authorization: Bearer $ACCESS_TOKEN"
  1. When has_more is false you are caught up. Store next_cursor and call with it later to get only what changed after that point:
curl -s "$UMBRELLA_BASE_URL/aml-screening/monitoring/alerts?cursor=$STORED_CURSOR" \
  -H "Authorization: Bearer $ACCESS_TOKEN"

A cursor keeps the filters it was created with; filters sent with a cursor are ignored. Keep the filter set stable for a cursor: if the poll should change from "everything" to "one subject", start a fresh cursor rather than trying to narrow a stored one.

A change made while you page gets a newer updated_at, so it lands after the cursor and is never skipped. The cursor is a position in the updated_at then alert_id order, not a page number.

How often to poll

The contract does not prescribe a poll interval. Choose one that matches your risk process, and respect the rate and transaction limits: a poll that finds nothing still costs a request.

  • While has_more is true, continue immediately. That is a backlog, not the steady state.
  • When caught up, sleep for your chosen interval, then poll with the stored cursor.
  • A poll that returns has_more: false and an empty data is the normal quiet case, not an error.
  • An alert for a profile that already matched at registration is planned to arrive from the first screening run.

Once monitoring is available, every active subject is planned to be re-screened once a day, so polling more often than a few times a day will find little new.

What to store

  • The last next_cursor from a caught-up page, unchanged. It is the resume point.
  • The latest alert per alert_id. An alert appears again when its status or its profile changes (updated_at moves), so the same alert_id can arrive more than once. Keep the latest version and do not treat a repeat as a new alert.
  • For each alert, enough to review and to report: alert_id, subject_id, profile_id, status, score, the name fields, datasets, created_at and updated_at.

check_id, subject_id and alert_id are stable UUIDs. profile_id stays opaque: store it, pass it back URL-encoded to read the profile, never parse it.

A cursor expires

A cursor is valid for 30 days. An unknown or expired cursor is a 400 INVALID_CURSOR. There is no way to resume an expired cursor; restart with since set to the last updated_at you processed, then store the fresh next_cursor.

Response

FieldTypeDescription
dataarrayAlerts on this page.
next_cursorstringAlways present. Pass as cursor for the next page, or store it when caught up.
has_morebooleanTrue when more alerts are ready now; false when caught up.
metadataobjectsandbox and generated_at.

Alert

FieldTypeDescription
alert_idUUIDStable.
subject_idUUIDThe monitored subject.
profile_idstringThe matching profile; read it with GET /aml-screening/profiles/{profile_id}.
statusstringSee below.
scoreintegerMatch score, 0 to 100.
matched_name, namestringAs in a hit.
datasets, countries, dates_of_birth, gender, pep_tierAs in a hit.
profile_versionintegerProfile version the alert was raised or last updated on.
created_at, updated_atdate-timeWhen the alert was raised and when it last changed.

An alert is the same shape for an individual and an entity. The person-only fields (dates_of_birth, gender, pep_tier) are empty or null for an entity.

profile_version tells you which version of the profile the alert was last raised or updated on. When it changes for the same alert_id, the profile changed and the alert was reviewed against the new version; read the profile again with the URL-encoded profile_id before deciding.

Status

ValueMeaning
openNeeds review.
true_positiveClosed: the profile is the subject.
false_positiveClosed: it is not.
discardedThe profile no longer matches the subject after a change to either.

The set is open in responses and closed as a filter. Alert status is read-only in this version: it is reported as the screening source sets it, and nothing on this API closes an alert. Reviewing alerts (marking true or false positives) comes in a later version; until then keep your review decision in your own system.

Triage an alert

The fields are the same as a hit, and so is the work: compare the profile against the subject, using name and aliases, date of birth, nationality and country, gender, and the evidence. The differences from a one-off check:

  • The subject is fixed. The alert is against a subject you registered, so the subject's own details are the reference. A new mismatch against a formerly good match is meaningful.
  • discarded is not a decision you made. It means the profile no longer matches after a change to the profile or the subject. Do not re-open it as open; it closed itself.
  • A repeated alert_id is the same alert. A moved updated_at means the alert changed, often because the profile did. Re-read the profile and confirm the earlier decision still holds.
  • open is the work queue. true_positive and false_positive are closed. If you keep your own copy, that status is the one to keep in sync, and it is set by the review, not by the polling.

Example

{
  "status": true,
  "data": [
    {
      "alert_id": "c4a8e2f1-5d3b-4e7a-9c61-0b2d8f4e6a13",
      "subject_id": "8d0e7a52-1b3c-4f6e-9d2a-5c7b9e1f3a24",
      "profile_id": "NQZGEVkxHy1HZ1sOQB0dXQ4kRAh6SlJDU3cO",
      "status": "open",
      "score": 98,
      "matched_name": "Jane Marie Doe",
      "name": "Jane Marie Doe",
      "datasets": ["PEP_CURRENT", "SANCTIONS_CURRENT"],
      "countries": ["GB", "US"],
      "dates_of_birth": ["1991-07-22"],
      "gender": "female",
      "pep_tier": 1,
      "profile_version": 3,
      "created_at": "2026-10-15T10:00:00Z",
      "updated_at": "2026-10-15T10:00:00Z"
    }
  ],
  "next_cursor": "eyJ1IjoiMjAyNi0xMC0xNVQxMDowMDowMFoifQ",
  "has_more": true,
  "metadata": { "sandbox": false, "generated_at": "2026-10-15T10:05:00Z" }
}

Errors

400 INVALID_CURSOR or VALIDATION_ERROR, and the others listed under Errors.

On this page