#API Permission Error on Usage or Costs Endpoints

1 messages · Page 1 of 1 (latest)

simple tigerBOT
#

Reported by @hexed crescent

Bug Report: API Permission Error on Usage or Costs Endpoints
`Steps to Reproduce`

Created a new API key from an admin account with all permissions granted. Verified it's working without issues on normal requests.

Accessing any usage endpoints results in a Missing scopes: api.usage.read error.

e.g.
https://api.openai.com/v1/organization/usage/completions?start_time=1737201419231&limit=1&bucket_width=1d

or

https://api.openai.com/v1/organization/costs?start_time=1737201419231&limit=1

`Expected Result`

No error

`Actual Result`

"Missing scopes: api.usage.read" error

`Environment`

Postman

#
Additional Information

Please provide relevant details to help resolve the issue, such as:

  • ChatGPT Shared Link (if applicable).
  • Screenshots or videos demonstrating the problem.

-# ➜ Need to contact support? Visit the OpenAI Help Center.