How to find credit balance in API?

I tried, but I can’t find it. I only see tokens and other details, but I can’t find the actual credit balance anywhere in the API documentation or responses.

Hi, welcome to the community!

https://platform.openai.com/settings/organization/billing/overview

1 Like

thanks, I need a python code to do that. This is the question