Before you start
- A member role of Owner, Admin or Analyst, or a key with
screenings:writewhile Screen’s settings take decisions by API. A decision by key names the key. - A screening in
possible_match. The screened people with a match waiting are listed first in the console’s screening sheet, and byhas_undecidedon the API.
curl -X GET "https://api.kontiga.com/v1/screenings/people?has_undecided=true&sort=found&limit=50&offset=0" \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/screenings/people
Read the match
A match holds the listed entry beside the person: the names, the dates of birth and the nationalities, each marked the same or different; the topics in plain words and the groups (sanctions, politically exposed, financial crime, watch lists); the face when both sides have a picture; and the likelihood, a word saying whether the entry is likely the same person, likely a different person, or unclear, with the facts it rests on. The likelihood is read just after the run, so it can be null for a few seconds. The likelihood and the face help a person decide; neither decides.
curl -X GET https://api.kontiga.com/v1/screenings/scr_01932f8e6c1d7a40b9e5d3c2a1f0e7d6/matches/scm_01932f8e6d2e7a41ca06e4d3b2a1f0e8 \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/screenings/{screening_id}/matches/{match_id}
The listed entry in full (its positions, relatives, sanctions, addresses and sources) is one more read, never charged.
curl -X GET https://api.kontiga.com/v1/screenings/scr_01932f8e6c1d7a40b9e5d3c2a1f0e7d6/matches/scm_01932f8e6d2e7a41ca06e4d3b2a1f0e8/profile \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/screenings/{screening_id}/matches/{match_id}/profile
Decide it
Confirm that it is the person, or dismiss it as someone else, with a reason from your list and a note when the reason asks for one. The list comes from Screen’s settings, the same on every page and the API.
curl -X GET https://api.kontiga.com/v1/screenings/match_reasons \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/screenings/match_reasons
curl -X POST https://api.kontiga.com/v1/people/per_01932f8e6b0c7a3fa8d4c2b1a0f9e8d7/screening/matches/scm_01932f8e6d2e7a41ca06e4d3b2a1f0e8/dismiss \
-H "Authorization: Bearer $KONTIGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "different_birth_date"
}'POST /v1/people/{person_id}/screening/matches/{match_id}/dismiss
A match found on a case is decided on that case’s screening; one found outside any case, on the person’s own. Either way the answer is the screening as reading it by its id gives it. See Screenings for both.
A second member
Screen’s settings can ask a second member to approve the dismissal of a sanctions match, every dismissal, or every decision. The decision then waits in second_approval and the match stays undecided. Another member approves or rejects it; never a key or the reasoning agent, and never the member who proposed it. The rule needs two members who decide matches: with one, turning it on answers 422 no_second_member. Once the settings no longer ask a second member for a waiting decision (the rule set back to none, say), any member who decides may decide the match, and the proposer may reject their own proposal.
# Members only: a signed-in member makes this call, in the console or with the CLI signed in (kontiga auth login). An API key is refused with 403 key_scope_denied.
curl -X POST https://api.kontiga.com/v1/screenings/scr_0193a9b4c7d27f31a8e6b5c4d3e2f1a0/matches/scm_0193a9b4c8e37f32b9f7c6d5e4f3a2b1/approvePOST /v1/screenings/{screening_id}/matches/{match_id}/approve
# Members only: a signed-in member makes this call, in the console or with the CLI signed in (kontiga auth login). An API key is refused with 403 key_scope_denied.
curl -X POST https://api.kontiga.com/v1/screenings/scr_0193a9b4c7d27f31a8e6b5c4d3e2f1a0/matches/scm_0193a9b4c8e37f32b9f7c6d5e4f3a2b1/reject \
-H "Content-Type: application/json" \
-d '{
"note": "The date of birth on his file is not the one we hold."
}'POST /v1/screenings/{screening_id}/matches/{match_id}/reject
Change a decision
An owner or an admin reopens a decision, with a note: the match is undecided again and back for review, the decision it had stays in its history, and a reopened dismissal is no longer remembered. When a team lets the reasoning agent decide some kinds of match, a member overturns its decision with their own; the agent’s reasons stay on the match and the timeline.
# Members only: a signed-in member makes this call, in the console or with the CLI signed in (kontiga auth login). An API key is refused with 403 key_scope_denied.
curl -X POST https://api.kontiga.com/v1/screenings/scr_0193a7c2e4b87d10a5f2c9e81b6d4f30/matches/scm_0193a7c2e5c17d12b6f3a0d92c7e5a41/reopen \
-H "Content-Type: application/json" \
-d '{
"note": "Her new passport gives a date of birth that matches the listed one."
}'POST /v1/screenings/{screening_id}/matches/{match_id}/reopen
curl -X POST https://api.kontiga.com/v1/screenings/scr_0193a9b4c7d27f31a8e6b5c4d3e2f1a0/matches/scm_0193a9b4c8e37f32b9f7c6d5e4f3a2b1/overturn \
-H "Authorization: Bearer $KONTIGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"status": "confirmed",
"reason": "confirmed_by_documents"
}'POST /v1/screenings/{screening_id}/matches/{match_id}/overturn