---
title: "Get connection history"
method: GET
path: "/api/v1/assets/{asset_id}/history"
tags: ["connections"]
---

# Get connection history

`GET /api/v1/assets/{asset_id}/history`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/assets/{asset_id}/history`
- Auth: none declared

Get connection test history for an asset

## Path parameters

- `asset_id` string, required

## Query parameters

- `limit` integer: Number of results to return
- `test_type` string, nullable: Filter by test type
- `status` string, nullable: Filter by status

## Headers

- `Authorization` string

## Response `200`

Successful Response

- ConnectionTestResponse[]
  - `id` integer, required
  - `asset_id` integer, required
  - `test_type` string, required
  - `status` string, required
  - `started_at` string, required
  - `is_successful` boolean, nullable
  - `duration_ms` integer, nullable
  - `error_message` string, nullable
  - `latency_ms` integer, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api.md) · [All operations](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/revisions/51c755fb5d0b?raw)
