RAG_BASE_URL.
Sources
Following progress
- Poll
GET /api/rag/status/{knowledge_id} - Or stream
GET /api/rag/stream/{agent_id}?session_id=xxx— eventsconnected,status,complete
GET /api/rag/knowledge/{agent_id} lists what an agent currently has indexed.
Security
- Path traversal is blocked on session and agent identifiers
- URL indexing refuses localhost and private address ranges (SSRF protection)
- Session ownership is validated on every call
- Completion callbacks from th2rag are verified with an HMAC-SHA256 signature
(
RAG_WEBHOOK_SECRET)