|
|
|
|
|
by minimaxir
13 days ago
|
|
I really wish there was a canonical platform endpoint to programmatically check Codex usage amount and the quota reset times so I could just vibecode an app to alert "hey, your usage just went to 100% so that means OpenAI did a reset" and "hey, your 5-hour usage is at 10%, wrap up what you're doing". The only way to do it now is through shenanigans with the Codex App Server which is not ideal. |
|
Just ask Codex to use its local auth token as a bearer token and send a GET request to it. The response includes "available_count" and "credits[].expires_at". Or script it yourself obviously.
https://chatgpt.com/backend-api/wham/rate-limit-reset-credit...