stream: true on any POST /api/v1/completions request to receive a Server-Sent Events (SSE) stream instead of a single JSON response.
Request
Event Types
| Event | Description |
|---|---|
meta | Engine info, resolved mode, active skills — emitted first |
token | A text chunk — emitted for each token as it’s generated |
tool | A tool was called — includes tool name, arguments, and status |
artifact | A generated file (image, document, code) |
done | Final event — includes full response with usage data |
error | An error occurred during processing |
