---
title: "Get Incident Timeline"
method: GET
path: "/api/v1/observability/incident-timeline/{incident_id}"
---

# Get Incident Timeline

`GET /api/v1/observability/incident-timeline/{incident_id}`

## Request

- Base URL: `http://127.0.0.1:8052`
- URL: `http://127.0.0.1:8052/api/v1/observability/incident-timeline/{incident_id}`
- Auth: none declared

Build a correlated incident timeline from logs, metrics, and traces.

Args:
    request: FastAPI request.
    incident_id: The incident ID to build a timeline for.
    window_before: Seconds before incident to include (default 600).
    window_after: Seconds after incident to include (default 300).

Returns:
    Dict with incident metadata and sorted timeline events.

## Path parameters

- `incident_id` string, required

## Query parameters

- `window_before` integer
- `window_after` integer

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/bernstein/apis/bernstein-task-server.md) · [All operations](https://skmtc.dev/bernstein/apis/bernstein-task-server/llms.txt) · [OpenAPI document](https://skmtc.dev/bernstein/apis/bernstein-task-server/revisions/2a20a34ad2eb?raw)
