Estimate an Explore run
explore_estimatePrice an Explore run without calling any Source: the arguments of explore, minus the token. valid=false carries the refusal the run would give: the status, the code and the sentence naming the fix (a Source that cannot be explored, two identical searches, too many terms for the plan, a balance that cannot pay). valid=true carries total, perLeg (one entry per search) and balance. Show the person the total, then pass estimateToken to explore with the same arguments. Costs 0 credits and calls no Source. Returns what explore would charge per search and in total, computed by the functions that charge it, the balance, and the estimateToken explore requires.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sources | Yes | The Sources to ask, at most 6. | |
| globalCriteria | Yes | The criteria every search inherits: market, and query or terms. |