API endpoint to track API usage

Is there an API endpoint provided by OpenAI to fetch usage information for individual models? Specifically, I’m interested in retrieving the total usage associated with an API key through API calls

3 Likes