Skip to main content

Endpoint

Returns a streaming text/plain response.

Request

Body

Response

Streaming text/plain. Read incrementally.

Examples

Streaming error sentinel

If the AI provider is unavailable, the stream may return:
Always check streaming chunks for the [ZENVEIL_ERROR] prefix and surface the message to the user.