cURL
Endpoints
Estimate Cost
Estimates the cost of the original and rewritten version of a query.
GET
cURL
Estimate the cost of running a query before and after Isofold optimization.
This endpoint is primarily supported for BigQuery, where dry-run mode provides exact byte scan estimates. For other warehouses, estimates are heuristic-based.
Next: Verify Result Equivalence
Request
Make aGET request to /cost with a query parameter:
Query Parameters
Response
Fields
Notes
- On BigQuery, this uses real dry-run estimates.
- On other engines, costs are approximated using:
- Column count
- Join complexity
- Filter selectivity
- Use this endpoint to evaluate query rewrites without executing them.
Next: Verify Result Equivalence