API: Admin & Registry
Control and configuration endpoints for proxy management.
Proxy Control
Toggle Proxy
POST /api/v1/proxy/toggleEnable or disable the proxy globally.
Proxy Status
GET /api/v1/proxy/statusReturns proxy enabled state and priority mode.
Priority Steering
POST /api/v1/proxy/priority/toggleToggle priority steering mode for endpoint selection.
Emergency Kill Switch
POST /api/v1/panicEmergency halt — stops all traffic immediately. Sends webhook notification to configured channels.
Hot Reload Config
POST /api/v1/admin/reloadReload config.yaml without restart. Zero-downtime configuration updates.
Registry (Endpoints)
List All Endpoints
GET /api/v1/registryReturns full model pool state (Live / Discovered / Offline) for all configured endpoints.
Toggle Endpoint
POST /api/v1/registry/{id}/toggleEnable or disable a specific endpoint.
Set Priority
POST /api/v1/registry/{id}/prioritySet endpoint routing priority.
Delete Endpoint
DELETE /api/v1/registry/{id}Remove an endpoint from the registry.
Features
List Feature Flags
GET /api/v1/featuresReturns security feature flags: language_guard, injection_guard, link_sanitizer.
Toggle Feature
POST /api/v1/features/toggle{
"feature": "injection_guard",
"enabled": true
}Analytics
Spend Breakdown
GET /api/v1/analytics/spendParams: from, to, group_by (model/provider/key/date), limit
Top Models by Spend
GET /api/v1/analytics/spend/topmodelsAudit Log
GET /api/v1/auditParams: from, to, model, key_prefix, status, blocked
Persistent audit log with PII masking.
System Info
| Endpoint | Description |
|---|---|
GET /api/v1/version | Current version |
GET /api/v1/service-info | Host, port, URL |
GET /api/v1/network/info | Network and Tailscale status |
GET /api/v1/cache/stats | Cache subsystem status |
GET /api/v1/guards/status | Security subsystem status |
GET /api/v1/metrics/latency | Per-ring/plugin latency P50/P95/P99 |
GET /api/v1/metrics/ring-timeline | Recent request traces |
GET /api/v1/webhooks | Configured webhooks |
GET /api/v1/export/status | Export subsystem status |
GET /api/v1/rbac/roles | RBAC role permission matrix |
Telemetry Stream
GET /api/v1/telemetry/streamReal-time SSE stream of system events (used by SOC dashboard).
GET /api/v1/logsSSE log stream for terminal view.