Internal API (
/api/v1), dashboard JWT (Authorization: Bearer ...). Requires the
reports:read permission. Admin callers must pass service_provider_id; provider users
are scoped to their own provider automatically.Endpoint
Query parameters
Returns one row per switch port with an active subscription for the provider. Link
status is read live over SSH, the learned MAC comes from the switch SNMP FDB, the IP from
the DHCP lease table, and the manufacturer from the MAC OUI.
Response — 200 OK
match_status compares the learned MAC against the subscriber’s registered MAC:
match | mismatch | unregistered (device seen, no MAC registered) | no_device.
has_active_device is true when the link is up and a device is learned on the port.
Enrichment is best-effort — fields degrade to null when SSH/SNMP/DHCP data is unavailable.