Ask a question (SSE stream)
Local server API
Ask a question (stream)
POST
Ask a question (SSE stream)
Streams server-sent events for the query lifecycle.
Event types:
Notes:
Events
SSE format:metareasoning.deltatext.deltatool.updateddoneerror
done
The final event isdone. It always includes text, reasoning, and tools, and may include optional usage and metrics:
- Pricing is best-effort and may be omitted.
- Pricing rates are USD per 1M tokens from
https://models.dev/api.json.