sigiro
Version 0.1.0
admin
Admin endpoints
- POSTPOST /admin/keys — mint an API key for an existing tenant.
/admin/keys - DELETEDELETE /admin/keys/{short_token} — revoke an API key by hash prefix.
/admin/keys/{short_token} - GETGET /admin/status — returns all instance_status rows as JSON object.
/admin/status - POSTPOST /admin/tenants — create or reactivate a tenant in the distributed control plane.
/admin/tenants
query
SQL query endpoints
- GETGET /v1/anomalies — the precomputed anomalies table, ALL signals, biggest shift first by the UNIT-FREE magnitude (after − before) / (after + before), computed at read, raw |after − before| breaking zero-baseline ties. Unit-free so shifts of different signals are comparable — raw deltas would let a µs latency shift dwarf every percentage shift. Ranking, not a threshold — every detected shift is returned. Rows are written continuously by the scheduled anomaly pass (BOCPD changepoints over each entity's persisted series — no thresholds), so reading here costs one table scan, never a detection run. The same rows drive `is_anomalous` and the anomaly findings in /v1/investigate.
/v1/anomalies - POST/v1/investigate
- POSTRun a read-only SQL query against this project's telemetry.
/v1/query - GETGET /v1/services — discover what services are sending telemetry. Agents call this before /investigate to know what services exist.
/v1/services - GETGET /v1/traces/{trace_id} -- return a single trace with full detail including critical path and service breakdown.
/v1/traces/{trace_id}