Hi Richard didnt still,
But one step closer looking in to this link. API - port bits graph - Help - LibreNMS Community
exmaple: http://x.x.x.x/api/v0/devices/1/ports/TenGigE0%2F2%2F0%2F0.589/port_bits?from=1693999170&to=1694603970