Hi!
Maybe I'm mistaken but... Sending a request to API endpoint kea/dhcpv4/getSubnet responds with subnet details like DNS servers, routers and NTP. But the subnets configured are not part of the response.
I guess the field "subnet" should contain the CIDR, but it doesn't.
Not sure if this is a known issue, I couldn't find anything in the forum.
Screenshots attached.
OPNsense version is 24.1.2_1
And a small addition: the pools section is empty, too. And if there are more than one subnet defined, only the first one is in the API response.