Resume a failed or canceled run; decided comparisons are kept
const url = 'https://api.supposing.app/v1/runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/retry';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.supposing.app/v1/runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/retryParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Successful Response
object
The model that makes each call in a run.
object
Openrouter bills the org’s key (or the platform’s); mock is free and instant, for tests; claude_cli (your Claude subscription) works only in local development, never on the hosted API: use the open-source CLI for it.
An OpenRouter model id.
Settings for a run of type ranking: a pairwise tournament judged against a rubric.
object
What the judge should prefer, in plain words. Each call shows the judge two items and this rubric and asks which is better.
Optional named criteria with relative weights.
One part of a rubric. The judge is told the weights when they differ.
object
Relative to the other criteria.
Opponents per item. More rounds, tighter intervals.
Judge every pair twice, swapping which item comes first, so position bias cancels out.
Swiss pairs items of similar rating; round_robin judges every pair each round (small sets only; not with goal top_n).
Top_n spends calls on finding the best top_n items rather than ordering the whole list.
Items longer than this are cut before judging.
Paid from the workspace’s credit (our OpenRouter key).
How the judge’s calls were routed: zero_retention means only to providers that keep no data and don’t collect it.
Time spent judging, summed over passes (a live pass counts to now). Not finished_at - started_at, which includes idle time between an end and an extend.
1, plus one per extend or retry.
Changes made by people on this run.
object
object
Calls the workers run at once for one run. For time left: remaining calls x avg_latency_ms / concurrency, roughly.
Top item from the final results; null until the run is done.
The top item of a finished run, for lists.
Best first, every item’s rank and interval from the final results (at most 40, evenly sampled, always including first and last); null until the run is done.
One item’s place in a finished ranking, for drawing a run’s shape in a list.
Example
{ "type": "ranking", "source": "web", "judge": { "provider": "openrouter", "model": "anthropic/claude-haiku-5.5" }, "ranking": { "criteria": [ { "description": "", "weight": 1 } ], "rounds": 8, "both_orders": true, "pairing": "swiss", "goal": "full", "top_n": 10, "max_chars": 60000, "seed": 0 }, "billed": false, "data_policy": "zero_retention", "status": "queued", "judging_seconds": 0, "passes": 1, "people": { "excluded": 0, "notes": 0, "disagreements": 0, "selected": 0 }, "progress": { "concurrency": 0 }}Client error. Branch on code; show message and hint.
The body of every non-2xx response.
object
Stable machine-readable code, e.g. dataset_not_found.
Per-field problems, for invalid_request.
object
Dotted path to the field, e.g. ranking.rubric.
Example generated
{ "code": "example", "message": "example", "hint": "example", "details": [ { "field": "example", "message": "example" } ]}Server error.
The body of every non-2xx response.
object
Stable machine-readable code, e.g. dataset_not_found.
Per-field problems, for invalid_request.
object
Dotted path to the field, e.g. ranking.rubric.
Example generated
{ "code": "example", "message": "example", "hint": "example", "details": [ { "field": "example", "message": "example" } ]}