# Search Details PDF

A full PDF report is available for download, offering a comprehensive overview of due diligence findings.

## Search Details PDF

`GET` `https://secctrl.tutelar.io/api/v1/aml/search/download-pdf/:searchHistoryId/:sanctionId`

### Request Headers

| Name         | Value              |
| ------------ | ------------------ |
| Content-Type | `application/json` |

### Sample Response

#### 200: OK

```
Content-Type: application/pdf

Complete data stream of the file contents.
```

#### 422: Unprocessable Entity

```json
{
  "success": false,
  "code": 1001,
  "message": "Invalid search history id",
  "data": {}
}
{
  "success": false,
  "code": 1001,
  "message": "Sanction Id missing",
  "data": {}
}
```

#### 400: Bad Request error

```json
{
  "success": false,
  "code": 1001,
  "message": "Sanctions not found",
  "data": {}
}
```

### Path Param values

| PathParameter   | Type   | Is Mandatory | Description                                                                               |
| --------------- | ------ | ------------ | ----------------------------------------------------------------------------------------- |
| searchHistoryId | String | Yes          | Search history Id will be generated for every Individual search made in the client panel. |
| sanctionId      | String | Yes          | sanctionId is unique id, to download a sanction details.                                  |

### Success Response

Response as in stream by ContentType application/pdf.

### Failure response

```json
{
  "success": false,
  "code": 1001,
  "message": "Invalid search history id",
  "data": {}
}
{
  "success": false,
  "code": 1001,
  "message": "Sanction Id missing",
  "data": {}
}
```


---

# Agent Instructions: 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:

```
GET https://docs.v2.tutelar.io/search-details-pdf-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
