Generated SDK in packages/sdk, JWT-secured, RBAC-enforced, with Socket.IO streams for realtime audit and ingestion events.
/auth/loginAuthenticate and receive a JWT/workspacesList workspaces for the current user/workspaces/:id/filesUpload a file for ingestion/files/:idFile metadata & ingestion status/files/:id/pages/:nRendered markdown for a page/chat/sessionsCreate a chat session/chat/sessions/:id/messagesStream a RAG response (SSE)/analytics/overviewUsage & ingestion metrics/audit/streamRealtime audit events (Socket.IO)/system/settingsUpdate runtime configuration (super_admin)curl -N https://rag.internal/chat/sessions/abc/messages \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ "query": "Net income trend FY22-FY24?", "scope": "workspace" }'