Endpoint shape

GET /admin/agents/{name}/inspect
{
  "active_sessions": 42,
  "in_flight_calls": 3,
  "registered_tools": ["weather", "search"],
  "config": {...},
  "stats": {...}
}
Advertisement

Per-session drill-in

GET /admin/sessions/{id}/inspect
{
  "user": "...",
  "turn": 5,
  "last_prompt_hash": "...",
  "recent_events": [...],
  "in_flight_tool": {...}
}
Advertisement

Access control

Auth required. Role-based access (support-agent role sees redacted view, engineer sees full).