Voice input with text response
POST/chat/voice
Send audio input and receive a text response from the AI assistant. Transcribes audio using STT, processes with the AI agent, returns text response.
Streaming Mode: Add stream: "true" in form data to receive SSE stream with:
transcriptionevent (STT result)stream_start,token,agent_responseevents (AI response)stream_endevent with performance metrics
Note: This endpoint uses a different base path: /api/chat/voice
Request
Responses
- 200
Standard Mode: JSON response with transcription and AI response.
Streaming Mode: SSE stream with transcription and response events.