> For the complete documentation index, see [llms.txt](https://docs.adsecure.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.adsecure.com/api/models/report.md).

# Report

A report is generated for each target created during an analysis.

```typescript
interface Report {
  // Meta
  targetId: string;
  openerId: string;

  // Error
  error: boolean;
  errorType: string;
  errorMessage: string;

  // Data
  audits: Audit[];
  detections: Detection[];
  frames: Frame[];
  targets: Target[];
  requests: Request[];
}
```

### Fields

* [`targetId`](#targetid)
* [`openerId`](#openerid)
* [`error`](#error)
* [`errorType`](#errortype)
* [`errorMessage`](#errormessage)
* [`audits`](#audits)
* [`detections`](#detections)
* [`frames`](#frames)
* [`targets`](#targets)
* [`requests`](#requests)

## Fields

***

### `targetId`

```
version  : 1.0.0
stability: stable
```

```typescript
targetId: string;
```

The unique identifier of the target in which the analysis was processed.

***

### `openerId`

```
version  : 1.0.0
stability: stable
```

```typescript
openerId: string;
```

The unique identifier of the target that issued the current target creation.

***

### `error`

```
version  : 1.0.0
stability: stable
```

```typescript
error: boolean;
```

Whether the [`Report`](/api/models/report.md) encounter an error during the analysis process.

***

### `errorType`

```
version  : 1.0.0
stability: stable
```

```typescript
errorType: string;
```

Type of the [`error`](/api/models/report.md#error) that occurred.

***

### `errorMessage`

```
version  : 1.0.0
stability: stable
```

```typescript
errorMessage: string;
```

Message of the [`error`](/api/models/report.md#error) that occurred.

***

### `audits`

```
version  : 1.0.0
stability: stable
```

```typescript
audits: Audit[];
```

List of [`Audit`](/api/models/audit.md)s recorded during the target analysis.

***

### `detections`

```
version  : 1.0.0
stability: stable
```

```typescript
detections: Detection[];
```

List [`Detection`](/api/models/detection.md)s recorded during the target analysis.

***

### `frames`

```
version  : 1.0.0
stability: stable
```

```typescript
frames: Frame[];
```

List of [`frame`](/api/models/frame.md)s recorded during the analysis process.

***

### `targets`

```
version  : 1.0.0
stability: stable
```

```typescript
targets: Target[];
```

List of the history of the [`Target`](/api/models/target.md) recorded during the analysis process.

***

### `requests`

```
version  : 1.0.0
stability: stable
```

```typescript
requests: Request[];
```

List of network [`Request`](/api/models/request.md)s recorded during the target analysis.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.adsecure.com/api/models/report.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
