---
title: "Suggest Fix"
method: POST
path: "/v1/backtests/{run_id}/suggest-fix"
---

# Suggest Fix

`POST /v1/backtests/{run_id}/suggest-fix`

## 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}/suggest-fix`
- Auth: none declared

ONE supported, in-grammar spec change aimed at a stored backtest's HONEST
failure signals (SHELF/inconclusive verdict, low confidence, optimism gap,
stop-reliance, thin sample). Returns {suggestion_text, suggested_spec (validated
or null), valid, issues, disclaimer, label}. 404 on a missing/foreign run;
503 when AI is off/unconfigured; 429 over the rate cap. The suggestion never
promises to work — re-test via the normal backtest/deploy path.

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