Getting Error: "message": "Account does not have permission

I am trying to use API for traceroute https://api.cloudflare.com/client/v4/accounts/XXX/diagnostics/traceroute but I get below error, so how can I check my permission and does it need paid account?
“errors”: [
{
“code”: 1010,
“message”: “Account does not have permission”
}
],

There isn’t a great way sadly, they used to be displayed on the API Page, but now they’re only in the API Schema metadata.
Regardless in this case the diagnostics traceroute API is Enterprise only.