curl -X GET 'https://verification.didit.me/v3/session/11111111-2222-3333-4444-555555555555/aml-screening-history/export/' \
-H 'x-api-key: YOUR_API_KEY' \
-o aml-screening-history.csvfrom didit import Didit
# Reads DIDIT_API_KEY.
client = Didit()
content = client.sessions.export_aml_screening_history(
"11111111-2222-3333-4444-555555555555",
)
with open("download.csv", "wb") as file:
file.write(content)import { writeFile } from "node:fs/promises";
import Didit from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY.
const didit = new Didit();
const content = await didit.sessions.exportAmlScreeningHistory("11111111-2222-3333-4444-555555555555");
await writeFile("download.csv", Buffer.from(await content.arrayBuffer()));ctx := context.Background()
// Reads DIDIT_API_KEY.
client := didit.NewClient()
resp, err := client.Sessions.ExportAMLScreeningHistory(ctx, "11111111-2222-3333-4444-555555555555", didit.SessionsExportAMLScreeningHistoryParams{})
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
file, err := os.Create("download.csv")
if err != nil {
log.Fatal(err)
}
defer file.Close()
if _, err := io.Copy(file, resp.Body); err != nil {
log.Fatal(err)
}import java.nio.file.Path;
import me.didit.Didit;
// Reads DIDIT_API_KEY.
Didit client = new Didit();
client.sessions().exportAmlScreeningHistory("11111111-2222-3333-4444-555555555555")
.writeTo(Path.of("download.csv"));<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
// Reads DIDIT_API_KEY.
$didit = new DiditClient();
$content = $didit->sessions->exportAmlScreeningHistory('11111111-2222-3333-4444-555555555555');
$content->saveTo('download.csv');require "didit"
# Reads DIDIT_API_KEY.
didit = Didit::Client.new
content = didit.sessions.export_aml_screening_history("11111111-2222-3333-4444-555555555555")
File.binwrite("download.csv", content)using System;
using Didit;
// Reads DIDIT_API_KEY.
using var client = new DiditClient();
var content = await client.Sessions.ExportAmlScreeningHistoryAsync("11111111-2222-3333-4444-555555555555");
await content.SaveToAsync("download.csv");screened_at,outcome,provider,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,datasets_catalog_version,run_id,entities_screened,new_hits
2026-09-14T04:12:33.481207+00:00,NO_CHANGE,aml_data_source,Approved,0.0,0,2026-09-14T03:58:02.114820+00:00,2026-09-13T21:10:00+00:00,2026-09-13T08:00:00+00:00,2026-09-12T18:45:00+00:00,,2026-09-13,aaaaaaaa-1111-2222-3333-444444444444,1,0
2026-09-13T04:11:58.020914+00:00,FAILED,aml_data_source,Approved,0.0,0,,,,,,,bbbbbbbb-1111-2222-3333-444444444444,0,AML-Verlauf als CSV exportieren – Didit API
Laden Sie den Verlauf der laufenden AML-Überwachung einer Sitzung als CSV-Datei herunter, eine Zeile pro abgeschlossener Neuprüfung, bereit für den Prüfer.
curl -X GET 'https://verification.didit.me/v3/session/11111111-2222-3333-4444-555555555555/aml-screening-history/export/' \
-H 'x-api-key: YOUR_API_KEY' \
-o aml-screening-history.csvfrom didit import Didit
# Reads DIDIT_API_KEY.
client = Didit()
content = client.sessions.export_aml_screening_history(
"11111111-2222-3333-4444-555555555555",
)
with open("download.csv", "wb") as file:
file.write(content)import { writeFile } from "node:fs/promises";
import Didit from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY.
const didit = new Didit();
const content = await didit.sessions.exportAmlScreeningHistory("11111111-2222-3333-4444-555555555555");
await writeFile("download.csv", Buffer.from(await content.arrayBuffer()));ctx := context.Background()
// Reads DIDIT_API_KEY.
client := didit.NewClient()
resp, err := client.Sessions.ExportAMLScreeningHistory(ctx, "11111111-2222-3333-4444-555555555555", didit.SessionsExportAMLScreeningHistoryParams{})
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
file, err := os.Create("download.csv")
if err != nil {
log.Fatal(err)
}
defer file.Close()
if _, err := io.Copy(file, resp.Body); err != nil {
log.Fatal(err)
}import java.nio.file.Path;
import me.didit.Didit;
// Reads DIDIT_API_KEY.
Didit client = new Didit();
client.sessions().exportAmlScreeningHistory("11111111-2222-3333-4444-555555555555")
.writeTo(Path.of("download.csv"));<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
// Reads DIDIT_API_KEY.
$didit = new DiditClient();
$content = $didit->sessions->exportAmlScreeningHistory('11111111-2222-3333-4444-555555555555');
$content->saveTo('download.csv');require "didit"
# Reads DIDIT_API_KEY.
didit = Didit::Client.new
content = didit.sessions.export_aml_screening_history("11111111-2222-3333-4444-555555555555")
File.binwrite("download.csv", content)using System;
using Didit;
// Reads DIDIT_API_KEY.
using var client = new DiditClient();
var content = await client.Sessions.ExportAmlScreeningHistoryAsync("11111111-2222-3333-4444-555555555555");
await content.SaveToAsync("download.csv");screened_at,outcome,provider,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,datasets_catalog_version,run_id,entities_screened,new_hits
2026-09-14T04:12:33.481207+00:00,NO_CHANGE,aml_data_source,Approved,0.0,0,2026-09-14T03:58:02.114820+00:00,2026-09-13T21:10:00+00:00,2026-09-13T08:00:00+00:00,2026-09-12T18:45:00+00:00,,2026-09-13,aaaaaaaa-1111-2222-3333-444444444444,1,0
2026-09-13T04:11:58.020914+00:00,FAILED,aml_data_source,Approved,0.0,0,,,,,,,bbbbbbbb-1111-2222-3333-444444444444,0,Autorisierungen
Der API-Schlüssel Ihrer Anwendung, aus Entwickler -> API-Schlüssel in der Business Console. Der Primärschlüssel hat Vollzugriff. Ein benannter Schlüssel kann im Geltungsbereich eingeschränkt werden: keine, Lese- oder Schreibberechtigung pro Ressource, beschränkt auf bestimmte Workflows oder genehmigte Sitzungen, auf eine Liste von IP-Adressen und auf ein Ablaufdatum. 401 bedeutet, dass der Schlüssel falsch, widerrufen oder abgelaufen ist; 403 bedeutet, dass kein Schlüssel gesendet wurde, der Schlüssel keinen Zugriff auf diese Ressource oder Aktion hat oder die Anfrage von einer Adresse außerhalb seiner IP-Liste stammte; 404 bei einer Sitzungsroute bedeutet, dass die Sitzung außerhalb der Workflows oder Status des Schlüssels liegt. Ein Schlüssel ohne Medienzugriff erhält Bild-, Video- und PDF-URLs als null, und ein Schlüssel ohne Schreibberechtigung für Sitzungen erhält Sitzungslinks und Token als null. Siehe https://docs.didit.me/console/api-keys.
Pfadparameter
UUID der Verifizierungssitzung (die von POST /v3/session/ zurückgegebene session_id). Akzeptiert Sitzungs-IDs sowohl für die Benutzerverifizierung (KYC) als auch für die Unternehmensverifizierung (KYB): Der Server löst die ID über beide Sitzungstypen hinweg auf. Muss eine wohlgeformte UUID sein; ein fehlerhafter Wert entspricht nicht der Route und gibt ein HTML-404 zurück.
"11111111-2222-3333-4444-555555555555"
Abfrageparameter
Workflow-Graph-Knoten-ID der AML-Prüfung. Nur erforderlich, wenn die Sitzung mehr als einen AML-Schritt durchlaufen hat; ohne diese Angabe wird die jüngste AML-Prüfung verwendet. Ein unbekannter Knoten gibt 404 zurück.
"feature_aml_1"
Ein UTC-Kalendermonat im Format YYYY-MM. Nur in diesem Monat abgeschlossene Screenings werden zurückgegeben; ohne diese Angabe wird jeder Monat zurückgegeben. Ein fehlerhafter Monat gibt 400 zurück.
^\d{4}-(0[1-9]|1[0-2])$"2026-09"
Antwort
Die CSV-Datei, gestreamt als text/csv mit CRLF-Zeilenenden. Spalten in dieser Reihenfolge: screened_at (wann das erneute Screening abgeschlossen wurde), outcome (NO_CHANGE, CHANGED oder FAILED), provider (opaker Bezeichner der AML-Datenquelle; nicht danach verzweigen), 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, datasets_catalog_version, run_id (der Überwachungslauf), entities_screened (1 oder 0 bei einem fehlgeschlagenen Lauf) und new_hits (leer, falls unbekannt). Datumsangaben entsprechen ISO 8601 mit UTC-Offset. Eine Sitzung ohne bisherige erneute Screenings gibt nur die Kopfzeile zurück.
The response is of type file.