Skip to main content
POST
Estimate credits (CR3, CR6)

Body

application/json
kind
enum<string>
required
Available options:
agent_run,
app,
compute
agent
string

agent_run: the agent's name; the answer's history is what its runs cost on this account before (the median of the last 20, and a high mark).

app
string

app (required): the app's id; the answer is what its calls cost on this account before (the median of the uncached ones, per operation too), how often a call was free, and the compute price here.

budget_millicredits
integer
function
string

CR6.b: kind fn — the function's name (with app).

vcpu_seconds
number

Response

The estimate

The response is of type object.