Skip to main content
Use Ask when you do not know which source answers the question, or when the answer needs several. Apiosk reads the question, matches sources and operations, prices a plan, and runs it on your approval. Ask and direct calls use the same source catalogue, the same prices and the same ledger. There are no Ask-only sources. Use a fixed workflow for a reproducible company or tender dossier with explicit country coverage. Supply either question or workflow.

Plan a question

Requires ask:create.
The plan and amounts above illustrate the response shape; read live source details for current prices. Planning is free. estimated_total is the maximum the run may cost; you are charged what the sources actually cost, which can be less.

Run it later

Requires ask:execute.
Running an ask twice returns the same run. It never starts a second purchase.

Run it immediately

With auto, Apiosk runs the plan without a second call, but only when all four hold: the plan’s maximum cost is within max_spend, within the key’s per-request limit, within what the key may still spend this month, and within the organisation’s balance. If the plan costs more than max_spend, you get the plan back, unrun and unbilled:

Clarify before buying

A needs_input response may contain field schemas, a natural language message, or both. Ask the person for the missing context; never fill it in by guessing. A needs_selection response offers candidates, so ask which entity they meant. When the response includes continuation, use POST /v2/asks/{id}/continue to select a candidate or supply the requested structured value on the same saved task. A paid search is not repeated. Selection resumes the remaining work under the original valid approval; a new quote created by supplied input requires an explicit /run. A natural-language clarification without continuation still requires a new clarified Ask. Inspect the earlier run’s results and usage first; do not automatically repeat a paid request. Document uploads use the App.

Statuses

Status codes