klieo-ops-api
Read-only HTTP monitoring router for klieo agentic systems.
Mount at /_ops to expose operator visibility into agent runs, A2A tasks, and MCP stream state.
let ops = new
.with_authenticator
.with_run_log_store
.with_task_store
.with_resume_buffer
.build;
app.nest_service;
Endpoints
| Endpoint | Store required | Description |
|---|---|---|
GET /_ops/runs |
RunLogStore |
List agent runs (filter: agent, status, limit) |
GET /_ops/runs/{id} |
RunLogStore |
Get full run detail with steps |
GET /_ops/agents |
RunLogStore |
Per-agent run count aggregation |
GET /_ops/tasks |
A2aTaskStore |
List A2A tasks by context_id |
GET /_ops/streams |
KvResumeBuffer |
List active MCP stream checkpoints |
Missing stores return 501 Not Implemented. Auth is pluggable via klieo-auth-common::Authenticator.