Skip to main content
POST
Ask a question (SSE stream)
Streams server-sent events for the query lifecycle.

Events

SSE format:
Event types:
  • meta
  • reasoning.delta
  • text.delta
  • tool.updated
  • done
  • error

done

The final event is done. It always includes text, reasoning, and tools, and may include optional usage and metrics:
Notes:
  • Pricing is best-effort and may be omitted.
  • Pricing rates are USD per 1M tokens from https://models.dev/api.json.

Body

application/json
question
string
required
resources
string[]
quiet
boolean

Response

Server-sent events stream. Event types: meta, reasoning.delta, text.delta, tool.updated, done, error. The final done event may include optional usage and metrics fields.

The response is of type string.