# Asset HTTP History Detail

GET /easm/assets/{asset_id}/http-history/{history_id}: Returns one HTTP snapshot of an asset, by the history_id returned by the list endpoint.

Source: https://docs.deepinfo.com/reference/easm/asset-http-history-detail/

Last updated: 2026-09-27

---
`GET https://api.deepinfo.com/v1/easm/assets/{asset_id}/http-history/{history_id}`

Returns one HTTP snapshot of an asset, by the `history_id` returned by the list endpoint.

## Authentication

Send your API key in the `apikey` request header.

## Path Parameters

| Parameter | Required | Description | Example |
|---|---|---|---|
| `asset_id` | Required |  | `000000000000000ea4f90001` |
| `history_id` | Required |  | `00000000000000000000000ebd470001` |

## Response Fields

| Field | Type | Description |
|---|---|---|
| `result` | object |  |
| `status` | boolean |  |
| `check_date` | string | date-time |

## Response Schema

_Inferred from examples._ Built from the saved 2xx example response: the fields it contains, with the types seen there. It is not a contract.

| Field | Type |
|---|---|
| `result` | object |
| `result.requested_url` | string |
| `result.version` | number |
| `result.check_date` | string |
| `result.connection_status` | string |
| `result.requested_domain` | string |
| `result.final_url` | string |
| `result.final_domain` | string |
| `result.http` | object |
| `result.http.redirection_history` | array<object> |
| `result.http.redirection_history[].url` | string |
| `result.http.redirection_history[].status_code` | number |
| `result.http.headers` | array<object> |
| `result.http.headers[].name` | string |
| `result.http.headers[].value` | string |
| `result.http.cookies` | array |
| `result.html` | object |
| `result.html.source_hash_code` | string |
| `result.final_status_code` | number |
| `status` | boolean |
| `check_date` | string |

## Examples

### 200 · OK

```bash
curl 'https://api.deepinfo.com/v1/easm/assets/000000000000000ea4f90001/http-history/00000000000000000000000ebd470001' \
  -H 'apikey: YOUR_API_KEY' \
  -H 'Accept: application/json'
```

`Content-Type: application/json` · `deepinfo-request-id: 00000000-0000-4000-8000-0000356d0001`

```json
{
  "result": {
    "requested_url": "http://www.acme.example/",
    "version": 1,
    "check_date": "2025-07-31T08:00:00Z",
    "connection_status": "success",
    "requested_domain": "acme.example",
    "final_url": "http://www.acme.example/",
    "final_domain": "acme.example",
    "http": {
      "redirection_history": [
        {
          "url": "http://www.acme.example/",
          "status_code": 400
        }
      ],
      "headers": [
        {
          "name": "date",
          "value": "Thu, 31 Jul 2025 08:00:00 GMT"
        },
        {
          "name": "server",
          "value": "<value>"
        }
      ],
      "cookies": []
    },
    "html": {
      "source_hash_code": "c11700abcdef0123456789c11700abcdef0123456789c11700abcdef01234567"
    },
    "final_status_code": 400
  },
  "status": true,
  "check_date": "2025-07-31T08:00:00Z"
}
```

### 404 · Not Found (nonexistent asset_id)

```bash
curl 'https://api.deepinfo.com/v1/easm/assets/ffffffffffffffffffffffff/http-history/ffffffffffffffffffffffff' \
  -H 'apikey: YOUR_API_KEY' \
  -H 'Accept: application/json'
```

`Content-Type: application/json` · `deepinfo-request-id: 00000000-0000-4000-8000-0000356d0001`

```json
{
  "code": 30003,
  "details": [
    "Asset does not exist."
  ],
  "solution": "https://docs.deepinfo.com/reference/"
}
```
