What extending a finished run would cost
const url = 'https://api.supposing.app/v1/runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/extend/estimate';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"rounds":4,"max_cost_usd":1}'};
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/extend/estimate \ --header 'Content-Type: application/json' \ --data '{ "rounds": 4, "max_cost_usd": 1 }'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Responses
Section titled “Responses”Successful Response
What a run would cost before it starts. Show this before every run.
object
Calls if every round runs.
Calls if the run stops at the earliest point it can.
For max_calls.
For max_calls.
True when the run uses our OpenRouter key and is paid from the workspace’s credit. Runs on your own key, mock and claude_cli are never billed.
Rough wall-clock time for max_calls.
Zero_retention: every call goes only to providers that keep no data and don’t collect it. provider_default: the provider’s own terms. none: no outside model (mock).
Example
{ "type": "ranking", "billed": false, "data_policy": "zero_retention"}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" } ]}