---
title: "Get Performance History"
method: GET
path: "/api/v1/performance/history"
tags: ["performance"]
---

# Get Performance History

`GET /api/v1/performance/history`

## Request

- Base URL: `https://polystrike.xyz` (the document declares no server; this is the origin it was published from)
- URL: `https://polystrike.xyz/api/v1/performance/history`
- Auth: none declared

Get historical performance data for charting.

Args:
    horizon: Time horizon (24, 48, or 72 hours)
    days: Number of days to look back

Returns:
    {
        "data": [
            {"timestamp": "2026-03-01T12:00:00Z", "error_pct": 8.5, "event_id": 241775},
            ...
        ],
        "annotations": [
            {"timestamp": "2026-03-07T16:00:00Z", "label": "Fixed rolling window", "commit": "a3f2b1c"},
            ...
        ]
    }

## Query parameters

- `horizon` integer
- `days` integer

## Headers

- `x-api-key` string, nullable
- `x402` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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