Public methods
- GET /api/corpora – available collections
- POST /api/source-refs – fast source lookup
- POST /api/ask – synchronous answer
- POST /api/ask/stream – SSE answer stream
Janus.Guru
Use Janus.Guru from portals, internal systems, Telegram bots, CRMs, editorial tools, and operational dashboards.
Integration quick start
Start without a key on the public contour. Add the optional x-api-key header when a deployment gives you a scoped key.
Read active collection identifiers before sending a question.
curl -s https://janus.guru/api/corporaUse retrieval-only mode to check evidence without generating an answer.
curl -s https://janus.guru/api/source-refs \
-H 'content-type: application/json' \
-d '{"query":"Which articles cover human rights?","corpus_id":"krk_2026","limit":5}'Use /api/ask for JSON or /api/ask/stream for SSE events.
curl -s https://janus.guru/api/ask \
-H 'content-type: application/json' \
-H 'x-api-key: $JANUS_API_KEY' \
-d '{"query":"Which articles cover human rights?","corpus_id":"krk_2026"}'
curl -N https://janus.guru/api/ask/stream \
-H 'content-type: application/json' \
-d '{"query":"Which articles cover human rights?","corpus_id":"krk_2026"}'The answer includes request_id, mode, lang, latency_ms, source_refs, and sources. Open each source before external use.