Skip to main content
GET
curl
The file has the same screenings as List AML screening history, flattened to one line each, with the dataset update date of each list family (sanctions, PEP, warnings, adverse media) where one was reported. The Business Console offers the same export next to the AML result. See Continuous AML monitoring for what each value means.

Authorizations

x-api-key
string
header
required

Your application's API key, from Developers -> API keys in the Business Console. The primary key has full access. A named key can be scoped: none, read or write per resource, limited to some workflows or to approved sessions, to a list of IP addresses, and to an expiry date. 401 means the key is missing, wrong, revoked or expired; 403 means the key has no access to this resource or action, or the request came from an address outside its IP list; 404 on a session route means the session is outside the key's workflows or statuses. A key without media access receives image, video and PDF URLs as null, and a key without sessions write receives session links and tokens as null. See https://docs.didit.me/console/api-keys.

Path Parameters

sessionId
string<uuid>
required

UUID of the verification session (the session_id returned by POST /v3/session/). Accepts both User Verification (KYC) and Business Verification (KYB) session IDs: the server resolves the ID across both session types. Must be a well-formed UUID; a malformed value does not match the route and returns an HTML 404.

Example:

"11111111-2222-3333-4444-555555555555"

Query Parameters

node_id
string

Workflow graph node ID of the AML check. Needed only when the session ran more than one AML step; without it the most recent AML check is used. An unknown node returns 404.

Example:

"feature_aml_1"

Response

The CSV file, streamed as text/csv with CRLF line endings. Columns, in order: screened_at (when the re-screen finished), outcome (NO_CHANGE, CHANGED or FAILED), provider (opaque identifier of the AML data source; do not branch on it), aml_status, aml_score, total_hits, datasets_captured_at, datasets_sanctions_last_updated_at, datasets_pep_last_updated_at, datasets_warnings_last_updated_at, datasets_adverse_media_last_updated_at and datasets_catalog_version. Dates are ISO 8601 with a UTC offset. A session with no re-screens yet returns the header line only.

The response is of type file.