curl --request POST \
--url https://api.example.com/api/graph/v1/strategies/{strategy_id}/reviewimport requests
url = "https://api.example.com/api/graph/v1/strategies/{strategy_id}/review"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.example.com/api/graph/v1/strategies/{strategy_id}/review', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/graph/v1/strategies/{strategy_id}/review",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/graph/v1/strategies/{strategy_id}/review"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/api/graph/v1/strategies/{strategy_id}/review")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/graph/v1/strategies/{strategy_id}/review")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Review Strategy Route
Get the research team’s take on a Lab strategy (interop Increment 4).
Runs the strategy through the research loop (RESEARCH → VALIDATE → JUDGE, no
DEVELOP — Review does not refine the strategy) and returns a real dossier +
terminal verdict. Records the pass in strategy_review and caches the
verdict on the strategy for the lineage ribbon. Review is read-only over the
strategy definition — it writes ONLY the last_verdict cache + the link
tables (strategy_review + research_run.reviewed_strategy_id).
#1309 degraded state: a cross_sectional strategy cannot be carried into
the loop’s Phase-1 StrategySpec (strategy_to_strategyspec raises before
a spec exists), so it is NOT backtestable. It still gets an honest 7-lens
advisor critique of its mechanism and records a degraded strategy_review
row (run_id/verdict null, backtestable=false) — NEVER a rejected
verdict from a backtest that could not run.
On the RULE (backtestable) path, a pipeline that fails before JUDGE
(run.status == "failed", run.dossier is None) raises 502 instead of
returning a fake 200 with null verdict/dossier — design-contract §7 requires
a backtestable=true response to ship a terminal verdict. No strategy_review
link row is written for a failed review. Once a dossier IS produced, persisting
the link/cache rows is best-effort: a DB hiccup there is logged and swallowed so
the already-computed dossier is still returned, never discarded behind a 500.
curl --request POST \
--url https://api.example.com/api/graph/v1/strategies/{strategy_id}/reviewimport requests
url = "https://api.example.com/api/graph/v1/strategies/{strategy_id}/review"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.example.com/api/graph/v1/strategies/{strategy_id}/review', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/graph/v1/strategies/{strategy_id}/review",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/graph/v1/strategies/{strategy_id}/review"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/api/graph/v1/strategies/{strategy_id}/review")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/graph/v1/strategies/{strategy_id}/review")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Path Parameters
Response
Successful Response