backtests

Get Backtest Curve

Compact equity + drawdown series for a completed run (Q-1505).

The MCP result card draws its chart in-card, so it needs a series it can carry in the tool envelope rather than the presigned pointer at the full results.json. Same access rule as /results (backtest.results.read), same 409 before completion; warm-up is trimmed and the series downsampled by utils.backtest_curve so the card's chart starts and dips where the tearsheet's does.

get/v1/backtests/{job_id}/curve

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}/curve
  • Auth: none declared

Path parameters

job_idstring required

Query parameters

pointsinteger

Maximum points to return (extreme-preserving downsample).

referencesboolean

Serve the BTC/ETH/SOL price-only hold lines over the curve's span (or reference_start..reference_end). Off by default: the lines cost a multi-month price read, and only a caller that draws them asks.

reference_startstring nullable

First UTC day (YYYY-MM-DD) of the span the hold references cover; with reference_end, replaces the curve's own trimmed span — a comparison asks for the span every run covers.

reference_endstring nullable

Exclusive end UTC day (YYYY-MM-DD) of that span.

Headers

Authorizationstring nullable
X-Org-Idstring nullable

Response

Successful Response

job_idstring required
startstring nullable
endstring nullable
source_pointsinteger required
reference_spanobject nullable

Changes

No recorded changes to this operation across all 1 revision of this API.