No "Usage" scope on API scopes

In the docs below, it's specified that to use the "/usage/app_details" endpoint, "The API token must have the 'usage' scope." However, when creating an API key there is no scope available labelled "Usage". Only read, write, deploy, test deploy, embed. I am an admin.

1 Like

Hi @Reynard_Marx! I think you're already on the Enterprise plan, so I should be able to fix this for you by forcefully enabling the corresponding feature flag.

Are you able to confirm your org's license key via DM?

Thanks very much @Darren! I can't seem to find it, where can I find the org's licence key?

It's not visible via the Retool GUI but will be specified in either the docker.env or values.yaml file, depending on your deployment method.

Hey @Reynard_Marx - I've toggled on that particular feature flag for your org, so you should hopefully see the usage scope as an option when generating an API token.

I neglected to ask earlier, but what version of Retool are you running? You may need to be on 3.75-stable or a more recent edge release in order to utilize this feature.

Thanks for the help @Darren. We are on version 3.52.18 so this won't work for now. Will let you know if we upgrade and still have the issue.

1 Like