---
title: "Fetch previous occurrences of an incident"
method: GET
path: "/incidents/{counterId}/get-previous-incidents"
tags: ["Incidents"]
---

# Fetch previous occurrences of an incident

`GET /incidents/{counterId}/get-previous-incidents`

## Request

- Base URL: `https://api.spike.sh`
- URL: `https://api.spike.sh/incidents/{counterId}/get-previous-incidents`
- Auth: none declared. Required headers: `x-api-key`, `x-team-id`
- TypeScript: <https://skmtc.dev/spike/apis/spike-sh-api/docs/incidents/:counterId/get-previous-incidents/get.ts> (a function with typed inputs; its response is checked against the schema)

Get list of previous occurrences of an incident

## Path parameters

- `counterId` string, required

## Headers

- `x-api-key` string, required
- `x-team-id` string, required

## Response `200`

List of previous incidents

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/spike/apis/spike-sh-api.md) - [All operations](https://skmtc.dev/spike/apis/spike-sh-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spike/apis/spike-sh-api/revisions/6854629119aa?raw)
