Sources — /api/sources*
A read-only view over the universal source-audit ecosystem and the cross-machine tag-bus. Every audited source emits SOURCE-AUDIT envelopes onto the entangled state; these routes surface the adapter directory, per-source drill-downs, and the cross-machine subscription map. Privacy-gated: a machine's sources are only visible if its slug is public.
Source: shared/api-core/src/routes/sources.ts.
Endpoints
| Method | Path | Auth | Notes |
|---|---|---|---|
GET | /api/sources | Bearer (session) | Adapter directory. |
GET | /api/sources/:adapter/:source_id | Bearer (session) | Per-source drill-down feed + sparkline. |
GET | /api/subscriptions | Bearer (session) | Cross-machine subscription map. |
Reads draw from audit_log (SOURCE-AUDIT rows), state_machines (the public/private gate), and the cross_slug_subscriptions fanout directory.