Usage API returns empty data while Dashboard shows usage

I am experiencing a mismatch between the OpenAI Usage API and the Usage Dashboard.

When I query the API:

GET https://api.openai.com/v1/usage?date=2025-09-16
Authorization: Bearer <my_api_key>

I get the following response:

{
  "object": "list",
  "data": [],
  "ft_data": [],
  "dalle_api_data": [],
  "whisper_api_data": [],
  "tts_api_data": [],
  "assistant_code_interpreter_data": [],
  "retrieval_storage_data": []
}

However, when I check the OpenAI Dashboard → Usage, there is usage data recorded on 2025-09-16.

This means the Dashboard shows data, but the API does not.

5 Likes

facing similar kind of issue the last known successful fetch is till 12th august @edwinarbus @PaulBellow

3 Likes

@OpenAI_Support @vb any update on this we are loosing montioring to our models , pls help us on this . or please suggest a different approach

2 Likes

We’re experiencing the same issue with the usage API — our dashboard and date-range queries are returning empty values since around mid-September.

@OpenAI_Support
Could someone from the OpenAI team confirm whether this is a known issue and if there’s an ETA for a fix?

Thanks!

2 Likes

@rohan.nitsan @jan.thanei found an alternate way to fetch logs (if you have admin api key to your org) instead of https://api.openai.com/v1/usage
try using https://api.openai.com/v1/organization/usage/completions

and your headers & payloads can look like
headers = {“Authorization”: f"Bearer {api_key}", “Content-Type”: “application/json”}
payload = { “start_time”: start_time(epoch),“end_time”: end_time (epoch)}
response = requests.get(url, headers=headers, params=payload)

found this with research, the support here is terrible , they treat their own customers with basically zero support , don’t know these forums are for what use , they break stuff internally and replace and never inform (very futuristic ) (very openly)

1 Like

Thanks a lot for sharing this alternative, @nits101 — really helpful!:folded_hands:
I completely agree, it’s been quite confusing lately with the /v1/usage endpoint returning empty data and no clear communication about the change.
Appreciate you taking the time to dig into this and share the workaround!

1 Like
{

    "error": {

"message": "You have insufficient permissions for this operation. Missing scopes: api.usage.read. Check that you have the correct role in your organization, and if you're using a restricted API key, that it has the necessary scopes.",

"type": "invalid_request_error",

"param": null,

"code": null

}

}

@nits101
I tried the method you suggested, but I got a permission issue. Do you know how to fix this?

1 Like

@_22 Can you recheck if the api key you are using is ‘admin api key’ and not user created one, this should be available in your dashboard . this logs can only be fetched through admin api key.

2 Likes

When I test on Postman, it return this error but I can call the completions api on the open ai platform

1 Like

@linn.min.htet Looks like the project ID you entered is invalid. Please double-check it and try again.

Hi @nits101 and eveyone,

I’m checking this API, and below is the response I’m receiving:

Does this response also include usage data for normal API keys?

Additionally, how can I retrieve complete usage data, similar to what is returned by:

https://api.openai.com/v1/usage

I understand that this is something should provided by OpenAI directly, but unfortunately we haven’t received a response from them yet. If anyone here has experience with this or happens to know the answer, any help would be greatly appreciated.