---
title: "Get Backtest Slice"
method: GET
path: "/v1/backtests/{job_id}/slice"
tags: ["backtests"]
---

# Get Backtest Slice

`GET /v1/backtests/{job_id}/slice`

## 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/backtests/{job_id}/slice`
- Auth: none declared

Part of a completed run, as it ran, scaled to ``capital`` (spec 07 §6).

Return, P&L on ``capital``, max drawdown, positions and bars over
``start``..``end`` (inclusive UTC days) at the run's own bar clock, from
one ``results.json`` read (``utils.backtest_slice``, the one owner).
Positions held at the slice start carry over; nothing is re-simulated. A
bound outside the run is a 422 naming the run's window. Same access rule
and 409 as ``/trades``.

## Path parameters

- `job_id` string, required

## Query parameters

- `start` string, nullable: First day of the slice (UTC).
- `end` string, nullable: Last day of the slice, inclusive (UTC).
- `capital` number, nullable: Value the slice starts from; default: the run's own.

## Headers

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

## Response `200`

Successful Response

- unknown

## 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)
