> For the complete documentation index, see [llms.txt](https://api2-ekycapis.innov8tif.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api2-ekycapis.innov8tif.com/okaydb/okaydb-all/aml-search/search-business/api-response-schema.md).

# API Response Schema

<mark style="color:red;">**sanEntries**</mark>

```json
// sanEntries

{
  "sanEntries": {
    "current": [
      {
        "sanctionId": "124122",
        "measures": [
          "Travel Ban"
        ],
        "regime": {
          "body": "United Nations Security Council (UNSC)",
          "bodyId": 1,
          "name": "Iranian Sanctions List",
          "origin": "United Nations",
          "types": [
            "Non-Proliferation",
            "Human Rights"
          ]
        },
        "events": [
          {
            "type": "Added",
            "dateIso": "2021-05-05",
            "evidenceIds": [
              "12422"
            ]
          }
        ]
      }
    ],
    "former": [
      {
        "sanctionId": "124122",
        "measures": [
          "Travel Ban"
        ],
        "regime": {
          "body": "United Nations Security Council (UNSC)",
          "bodyId": 1,
          "name": "Iranian Sanctions List",
          "origin": "United Nations",
          "types": [
            "Non-Proliferation",
            "Human Rights"
          ]
        },
        "events": [
          {
            "type": "Added",
            "dateIso": "2021-05-05",
            "evidenceIds": [
              "12422"
            ]
          }
        ]
      }
    ]
  }
}

```

<mark style="color:red;">**relEntries**</mark>

```json
// relEntries

{
  "relEntries": [
    {
      "category": "Law Enforcement",
      "subcategory": "Police - Avon and Somerset Police - Wanted & In Court - United Kingdom",
      "events": [
        {
          "type": "Arrest",
          "currencyCode": "USD",
          "amount": 1000,
          "period": {
            "description": "Indicates the length of time of the penalty",
            "days": 0,
            "years": 1,
            "months": 0
          },
          "dateIso": "2021-04-09",
          "evidenceIds": [
            "354363"
          ]
        }
      ]
    }
  ]
}


```

<mark style="color:red;">**rreEntries**</mark>

```
// "rreEntries

{
  "rreEntries": [
    {
      "category": "Cybercrime",
      "subcategory": "Identity Theft",
      "events": [
        {
          "type": "Court Proceedings in Progress: Remand",
          "dateIso": "2021-04-09",
          "evidenceIds": [
            "542622"
          ]
        }
      ]
    }
  ]
}

```

<mark style="color:red;">**poiEntries**</mark>

```json
// poiEntries

{
  "poiEntries": [
    {
      "category": "Local Government Administration",
      "evidenceIds": [
        "542622"
      ],
      "positions": [
        {
          "position": "The name of the political position",
          "segment": "Segment",
          "countryIsoCode": "ES",
          "dateFromIso": "2021-03-12",
          "dateToIso": "2021-03-12"
        }
      ]
    }
  ]
}

```

<mark style="color:red;">**insEntries**</mark>

```json
// insEntries
{
  "insEntries": [
    {
      "type": "Individual Voluntary Arrangement",
      "insolvencyIdNumber": "123456",
      "solicitor": "HM Revenue and Customs, Solicitor's Office & Legal Services, South West Wing, Bush House, Strand, London, WC2B 4RD",
      "court": "Voluntary Liquidation Cases",
      "petitioner": "Commissioners For HM Revenue And Customs",
      "debt": "GBP 5,748",
      "accountantInBankruptcyCaseNumber": "2020/601289",
      "insolvencyStartDateIso": "2020-10-05",
      "insolvencyEndDateIso": "2024-10-05",
      "hearingDateIso": "2020-10-01",
      "presentedDateOfPetitionIso": "2020-10-01",
      "gazetteIssueDateIso": "2020-10-05",
      "awardDateIso": "2020-10-03",
      "firstOrderDateIso": "2020-10-11",
      "evidenceIds": [
        "252231"
      ]
    }
  ]
}

```

<mark style="color:red;">**soeEntry**</mark>

```json
// soeEntry
{
  "soeEntry": {
    "level": "National", // String: Indicates whether this is a nation or local SOE
    // Enum options for "level": ["National", "Local"]
    "status": "Current", // String: Indicates whether the SOE is current or former
    // Enum options for "status": ["Current", "Former"]
    "evidenceIds": [
      "526342",
      "125113"
    ] // Array of strings: List of supporting evidence IDs
    // minItems: 0
  }
}

```

<mark style="color:red;">**pepEntries**</mark>

```json
// pepEntries

{
  "pepEntries": {
    "pepTier": "PEP Tier 2",
    "current": [
      {
        "countryIsoCode": "GB",
        "segment": "Executive Branch - Head and Members of Government and Deputies",
        "position": "Prime Minister (Kryeministër) | Council of Ministers (Këshilli i Ministrave)",
        "dateFromIso": "2019",
        "dateToIso": "2022-01-01",
        "evidenceIds": [
          "362233"
        ]
      }
    ],
    "former": [
      {
        "countryIsoCode": "GB",
        "segment": "Executive Branch - Head and Members of Government and Deputies",
        "position": "Prime Minister (Kryeministër) | Council of Ministers (Këshilli i Ministrave)",
        "dateFromIso": "2019",
        "dateToIso": "2022-01-01",
        "evidenceIds": [
          "362233"
        ]
      }
    ]
  }
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://api2-ekycapis.innov8tif.com/okaydb/okaydb-all/aml-search/search-business/api-response-schema.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
