---
title: "List Detection Occurrences Route"
method: GET
path: "/api/v1/detections/{detection_id}/occurrences"
---

# List Detection Occurrences Route

`GET /api/v1/detections/{detection_id}/occurrences`

## Request

- Base URL: `https://api.stacktrace.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stacktrace.ai/api/v1/detections/{detection_id}/occurrences`
- Auth: none declared

The whole run history the detail payload only shows the head of.

## Path parameters

- `detection_id` string, required

## Query parameters

- `cursor` string, nullable
- `limit` integer

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- DetectionOccurrencesResponse: The whole run history for one detection, a page at a time.
  - `items` RunHistoryRow[], required
    - `detect_run_id` string, required
    - `observed_through` string, required
    - `recorded_at` string, required
  - `next_cursor` string, nullable
  - `total` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/stacktrace/apis/stacktrace-fleet-api.md) - [All operations](https://skmtc.dev/stacktrace/apis/stacktrace-fleet-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stacktrace/apis/stacktrace-fleet-api/revisions/0ee5484d1d0b?raw)
