Get Statistic Data From OpenAI Dashboard

I used OpenAI API’s with my project. Now I have to show API’s usage on my project dashboard.

Can anyone please tell me, Which endpoints are available to fetch dashboard statistic data?

Hi @rohan.nitsan, and welcome to the forum!

AFAIK there aren’t endpoints to fetch usage data, but you do have a Dashboard UI that will give you spend per project / model / dates:

Total Usage
Per-Model Activity

Hey @jorgeintegrait ,

Thanks for the reply :slight_smile:

I do have access to the Dashboard UI, but in my case, I need to fetch usage stats programmatically — for displaying usage data directly in my project’s dashboard

It would be great if OpenAI exposes API endpoints for this in the future. :wink:

Appreciate your help!