Query local knowledge
Send a question and get a grounded answer from the system you choose.
The Krionis API gives teams one clear way to query local knowledge, route higher-risk answers into review, inspect traces, and manage the system around it. It is built to stay simple when you start and stay usable as you grow.
The API is grouped around the jobs teams actually need: ask questions, send risky work to review, inspect the trail, and manage the local system behind it.
Send a question and get a grounded answer from the system you choose.
Route higher-risk answers into a human review flow before they are released.
Use trace IDs and review IDs to inspect what happened and when.
These are the parts most teams touch first. The grouping keeps the page readable, while the full route table below keeps the exact surface close by.
Send a normal question through the main pipeline and review gate.
Send the request through a selected agent when you need a more controlled route.
See how recent requests were routed across the system.
List the items waiting for a human decision.
Approve a held answer and optionally edit the final response.
Pull the audit trail for one trace from start to finish.
Check live agent and queue activity.
Start an agent for the flow you want to run.
Rebuild search indexes when your local source files change.
List the regulation-only pools available to the system.
Check a regulated document against a selected regulation corpus.
Start the built-in regulatory agent on a dedicated pool.
Review and audit routes use the x-api-key header.
The table below keeps the whole surface together in one place.
| Method | Path | Purpose |
|---|---|---|
| GET | /health | Check whether the service is ready. |
| POST | /query | Send a question through the main pipeline and review gate. |
| POST | /orchestrator/query | Send a controlled query through a selected agent. |
| GET | /platform/dashboard | Return operator dashboard state. |
| GET | /platform/telemetry | Return live agent and queue telemetry. |
| GET | /platform/runtime | Return process and worker diagnostics. |
| GET | /platform/configuration | Return resolved configuration and storage paths. |
| GET | /platform/indexes | Show source directories and search cache state. |
| POST | /platform/indexes/{system_name}/rebuild | Rebuild the search cache for a system. |
| GET | /platform/agents | List active agents and capacity. |
| POST | /platform/agents/start | Start an agent. |
| DELETE | /platform/agents/{agent_ref} | Stop an agent. |
| GET | /platform/routes/recent | Show recent routing decisions. |
| GET | /platform/records | Return stored quality and review metadata. |
| GET | /compliance/pools | List regulation-only corpora. |
| POST | /compliance/pools | Create or update a regulation-only pool. |
| POST | /compliance/pools/{pool_name}/rebuild | Rebuild a regulation pool index. |
| POST | /compliance/pools/{pool_name}/start-agent | Start the built-in regulatory agent. |
| POST | /compliance/assess | Assess a regulated document against a regulation corpus. |
| GET | /compliance/assessments | List stored compliance assessments. |
| GET | /review/pending | List pending review items. |
| GET | /review/{review_id} | Fetch one review item. |
| POST | /review/{review_id}/approve | Approve a response and optionally edit the final output. |
| POST | /review/{review_id}/reject | Reject a response and store reviewer notes. |
| GET | /system/metadata | Return system version and metadata. |
| GET | /audit/traces/{trace_id} | Return audit events for one trace. |
| GET | /audit/reviews/{review_id} | Return audit events for one review lifecycle. |
Every request returns a trail you can follow. Reviewable outputs also return a review ID, which helps teams inspect what was held, who acted on it, and what changed.
{
"status": "pending_review",
"trace_id": "4c31d2d7-3d7d-4d39-9f79-cf4c57c1b182",
"review_id": "9a4f4b6d-c6b8-47af-88c6-5d1dfd0984aa",
"system": "TestSystem",
"question": "What is the dosage recommendation?",
"response_preview": "Dosage guidance requires human validation before release."
}
These are the calls many teams start with first: ask a question, check the review queue, approve a held answer, and inspect the audit trail.
curl -X POST http://127.0.0.1:8000/query \
-H "Content-Type: application/json" \
-H "x-user-id: operator-1" \
-d '{
"system": "TestSystem",
"question": "What is the restart sequence?"
}'
curl http://127.0.0.1:8000/review/pending \ -H "x-api-key: your-review-key"
curl -X POST http://127.0.0.1:8000/review/REVIEW_ID/approve \
-H "Content-Type: application/json" \
-H "x-api-key: your-review-key" \
-H "x-reviewer-id: qa-1" \
-d '{
"final_response": "Approved and verified dosage response.",
"reviewer_notes": "Cross-checked against SOP-17."
}'
curl http://127.0.0.1:8000/audit/traces/TRACE_ID \ -H "x-api-key: your-review-key"
Move between the marketing page, the notebook walkthrough, and the API surface without leaving the same visual system.
The home page explains how Pipeline and Orchestrator fit together as one modular system.
The notebook is a useful path for teams that want to try the regulatory flow step by step.