---
title: "Get Backtest"
method: GET
path: "/v1/backtests/{run_id}"
---

# Get Backtest

`GET /v1/backtests/{run_id}`

## Request

- Base URL: `https://api.quantradin.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.quantradin.com/v1/backtests/{run_id}`
- Auth: none declared

Return a single backtest by run_id (user-scoped; 404 if not owned).

Auth: same effective-user resolution as POST /v1/backtests
(require_backtest_submitter — session cookie wins when present, else
X-Vega-Key). Without this, a session-submitted run (owned by the real
user_id) would 404 when polled with only the shared demo key header —
the poll must be able to see what the matching submit created.
Ownership scoping is unaffected: db.get_backtest still filters on the
resolved uid, so a different user's session (or a different key)
still gets 404 on someone else's run.

## Path parameters

- `run_id` string, required

## Headers

- `x-vega-key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/quantradin/apis/vega-api.md) · [All operations](https://skmtc.dev/quantradin/apis/vega-api/llms.txt) · [OpenAPI document](https://skmtc.dev/quantradin/apis/vega-api/revisions/47add154ef38?raw)
