Estimate a task's cost before creating it
POST
/harness/tasks:estimate200 also when billing would refuse it (admitted: false, refusal). 503 estimate_unavailable.
Headers
Authorizationstring
Bearer <token>. A Hexel Studio access token for your organization.
X-Workspace-Idstring
The workspace the request acts in (ws_...). It never grants access by itself.
X-Environment-Idstring
The environment the request acts in (env_...). It never grants access by itself.
Body parameters
Returns
200The estimate.Estimate
admittedboolean
decision_idoptional string
meterstring
partsoptional array of EstimatePart
reasonsoptional array of string
refusaloptional string
sourcestring
within_budgetboolean
Errors
- default