querybody · stringRequiredOne question, up to 4,000 characters. Include the company and country; the API does not retain conversation history.
Send one self-contained question. Receive progress, tool results and, in AI mode, a written answer through a Server-Sent Events stream.
querybody · stringRequiredOne question, up to 4,000 characters. Include the company and country; the API does not retain conversation history.
modebody · "ai" | "data"OptionalDefaults to ai. Use data for raw tool results in the final done event.
Illustrative SSE frames. Real requests can contain multiple tool calls and text fragments; the token counts above are placeholders.
event: status
data: {"type":"status","message":"Looking up company…"}
event: text
data: {"type":"text","content":"Example answer fragment."}
event: done
data: {"type":"done","tools_used":[],"usage":{"prompt_tokens":0,"completion_tokens":0,"total_tokens":0},"message_id":null}