Ask a question (stream)
POST/api/patient/chat/respond/stream
Stream chat response from AI service. Returns Server-Sent Events (SSE) — text/event-stream.
provider is one of openai, gemini, grok, anthropic; optional persona_id chooses which persona answers (see GET /chat/personas), default Nexxi. The reply is a server-sent event stream.
Request
Responses
- 200
- 400
- 401
- 403
- 429
- 500
- 502
- 503
Success
Bad Request
Unauthorized (X-Api-Key missing, malformed, unknown or disabled)
Forbidden
Too Many Requests (rate limit exceeded)
Internal Server Error
Bad Gateway
Service Unavailable