upvote
You can use this endpoint for quota reset times.

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...

reply
The 5h limit is gone (for now). It does not presently need to be chased. :)

For the automated checking of other stuff: It was a one-shot prompt to get Codex clank up some Python that returns remaining usage, next reset time/date, and so on.

The result does use Codex App Server, but it's a short-lived process that is dealt with over stdio so that's... fine-ish, I guess?

reply
I keep this bookmarked and check it frequently

https://chatgpt.com/codex/cloud/settings/analytics

reply
The API endpoints on this page accept an OAuth token from ~/.codex/auth.json. You can simply ask Codex to create a report skill with some curl examples.
reply
Orrrr... He could just as well click the link he has bookmarked already, and see it with his own eyes, without the token use to report on his token use.
reply
Check this site for the first part? Maybe they can offer a notifications API, hah.
reply