---
title: "Paper Comparison Endpoint"
method: GET
path: "/v1/paper/{deployment_id}/comparison"
tags: ["paper"]
---

# Paper Comparison Endpoint

`GET /v1/paper/{deployment_id}/comparison`

## Request

- Base URL: `https://api.usekeel.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.usekeel.io/v1/paper/{deployment_id}/comparison`
- Auth: none declared

The paper run's own comparison with its backtest over the same period,
per bar, for the run page's chart (PT2-93).

``runner.read``, as the deployment detail read. A ``real``, unknown or
other org's id is the typed 404. Empty ``points`` until the first
comparison is written, the night after the first bar closes.

## Path parameters

- `deployment_id` string, required

## Headers

- `Authorization` string, nullable
- `X-Org-Id` string, nullable

## Response `200`

Successful Response

- ParityChart: ``GET /v1/paper/{id}/comparison``: the newest same-period comparison, per bar. ``points`` is empty until the first comparison is written; the first point is the starting capital at the start, then every paper bar.
  - `as_of` string, date-time, nullable, required
  - `window_start` string, date-time, nullable, required
  - `window_end` string, date-time, nullable, required
  - `points` ParityChartPoint[], required
    - `at` string, date-time, required
    - `paper` number, required
    - `backtest` number, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/usekeel/apis/keel-api.md) · [All operations](https://skmtc.dev/usekeel/apis/keel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/usekeel/apis/keel-api/revisions/3191ca10b0ab?raw)
