> 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/target.md).

# Target

Contains the history that the target went through.

```typescript
interface Target {
  type: string;
  url: string;
  title: string;
  event: TargetEvent; // "CREATED" | "UPDATED" | "UNKNOWN"
  version: string;
  timestamp: string;
}
```

### Fields

* [`type`](#type)
* [`url`](#url)
* [`title`](#title)
* [`event`](#event)
* [`version`](#version)
* [`timestamp`](#timestamp)

## Fields

***

### `type`

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

```typescript
type: string;
```

The type of the target.

***

### `url`

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

```typescript
url: string;
```

The URL of the target at that point in time.

***

### `title`

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

```typescript
title: string;
```

The title of the target at that point in time.

***

### `event`

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

```typescript
event: TargetEvent;
```

```typescript
enum TargetEvent {
  Created = "CREATED",
  Updated = "UPDATED",
  Unknown = "UNKNOWN",
}
```

The reason of the target's info update at that point in time.

***

### `version`

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

```typescript
version: string;
```

The version of the target at that point in time.

***

### `timestamp`

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

```typescript
timestamp: string;
```

An ISO 8601 timestamp that reflects the moment when the [`Target`](/api/models/target.md) was updated.


---

# 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/target.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.
