Skip to main content
GET
/
api
/
v3
/
aml
/
search
/
history
/
{id}
Historical Search Report
curl --request GET \
  --url https://api.dataspike.io/api/v3/aml/search/history/{id} \
  --header 'ds-api-token: <api-key>'
{
  "requested_name": "<string>",
  "search_uuid": "<string>",
  "max_risk_score": "Low",
  "data": [
    {
      "uuid": "<string>",
      "type": "Person",
      "annotation": "<string>",
      "tags": [
        "Finance"
      ],
      "risk_score": "Low",
      "fields": {
        "names": [
          {
            "full_name": "<string>",
            "first_name": "<string>",
            "last_name": "<string>",
            "middle_name": "<string>",
            "lang": "<string>"
          }
        ],
        "sources": [
          {
            "source_id": "<string>",
            "name": "<string>",
            "reason": "<string>",
            "summary": "<string>",
            "source_url": "<string>",
            "risk_score": "Low",
            "tags": [
              "Finance"
            ]
          }
        ],
        "media": [
          {
            "source_name": "<string>",
            "source_url": "<string>",
            "headline": "<string>",
            "summary": "<string>",
            "published_at": 123,
            "risk_score": "Low",
            "importance_score": 123,
            "sentiment": 123,
            "tags": [
              "Finance"
            ],
            "country_codes": [
              "<string>"
            ]
          }
        ],
        "images": [
          {
            "description": "<string>",
            "url": "<string>"
          }
        ],
        "contact_info": [
          {
            "emails": [
              "<string>"
            ],
            "phones": [
              "<string>"
            ],
            "websites": [
              "<string>"
            ]
          }
        ],
        "registration_ids": [
          {
            "id": "<string>",
            "id_type": "<string>",
            "date": "2023-12-25",
            "industry": "<string>",
            "country": "<string>"
          }
        ],
        "addresses": [
          {
            "country": "<string>",
            "region": "<string>",
            "city": "<string>",
            "postal_code": "<string>",
            "address": "<string>"
          }
        ],
        "genders": [
          "Male"
        ],
        "dates_of_birth": [
          {
            "gte": "1987-12-24T00:00:00.000Z",
            "lte": "1987-12-24T00:00:00.000Z"
          }
        ],
        "places_of_birth": [
          {
            "country": "<string>",
            "region": "<string>",
            "city": "<string>",
            "postal_code": "<string>",
            "address": "<string>"
          }
        ],
        "dates_of_death": [
          {
            "gte": "1987-12-24T00:00:00.000Z",
            "lte": "1987-12-24T00:00:00.000Z"
          }
        ],
        "places_of_death": [
          {
            "country": "<string>",
            "region": "<string>",
            "city": "<string>",
            "postal_code": "<string>",
            "address": "<string>"
          }
        ],
        "citizenships": [
          "<string>"
        ],
        "nationalities": [
          "<string>"
        ],
        "political_roles": [
          {
            "role": "<string>",
            "country": "<string>"
          }
        ],
        "occupations": [
          {
            "occupation": "<string>",
            "country": "<string>"
          }
        ],
        "companies_and_enterprises": [
          {
            "name": "<string>",
            "reference": "<string>",
            "role": "<string>",
            "country": "<string>"
          }
        ],
        "owners_and_beneficiaries": [
          {
            "name": "<string>",
            "reference": "<string>",
            "role": "<string>",
            "country": "<string>"
          }
        ],
        "associates": [
          {
            "uuid": "<string>",
            "name": "<string>",
            "start_date": {
              "gte": "1987-12-24T00:00:00.000Z",
              "lte": "1987-12-24T00:00:00.000Z"
            },
            "end_date": {
              "gte": "1987-12-24T00:00:00.000Z",
              "lte": "1987-12-24T00:00:00.000Z"
            },
            "relationship": "<string>",
            "is_relative": true
          }
        ]
      },
      "updated_at": 123,
      "importance_score": 123
    }
  ]
}

Authorizations

ds-api-token
string
header
required

Path Parameters

id
string<uuid>
required

Retrieve search history result by 'search_uuid'

Example:

"01827ed4-c928-7a3c-9a30-7ab7cc169d11"

Response

200 - application/json

AML Search Result

requested_name
string
search_uuid
string

Search id, could be use later to fetch the existing search result

max_risk_score
enum<string>

Assigned Risk Score

Available options:
Low,
Medium,
High
data
object[]