Docs
Backend API and WebSocket protocol for the Intelly AI live feedback service.
Swagger UI
Interactive REST docs are served by the backend.
Open Swagger UIWebSocket protocol
Live feedback is delivered over WebSocket. Connect to ws://localhost:7239/ws/sessions/{sessionId}. Get a fresh ID via GET http://localhost:7239/ws/sessions/new.
Send (client → server)
{ "type": "audio_chunk", "data": "<base64-audio>" }
{ "type": "ping" }Receive (server → client)
{ "type": "transcript_segment", "segment": { ... } }
{ "type": "feedback_fragment", "fragment": "..." }
{ "type": "feedback_event", "event": { ... } }
{ "type": "metrics", "metrics": { ... } }Example: connect + stream
const ws = new WebSocket('ws://localhost:7239/ws/sessions/<sessionId>');
ws.onmessage = (event) => {
const msg = JSON.parse(event.data);
console.log('incoming', msg);
};
ws.send(JSON.stringify({
type: 'audio_chunk',
data: '<base64-audio>'
}));Ports & environment
- Frontend:
http://localhost:7238 - Backend:
http://localhost:7239 - Embedded in CRM at
/admin/live-feedback(global admin only).