Skip to main content
POST
Estimate the credit cost of one flow run
Credit-cost range of one run of a (possibly unsaved) config. min / max because waterfalls stop at the first success and conditions skip branches. Call this before POST /v1/flows/{flow_id}/run.

Headers

x-apikey
string
required

API Key for authentication

Body

application/json
config
Config · object
required

Flow definition, possibly unsaved: {inputs: [...], nodes: [...], output: {...}}. Same shape POST /v1/flows and GET /v1/flows/{flow_id} use.

Response

Credit-cost range of one run

min
string
required

Cheapest one-run cost, in credits.

max
string
required

Most expensive one-run cost, in credits.

currency
string
default:credits