core-agent-ide/codex-rs/app-server/tests/suite
Owen Lin 5c680c6587
[app-server] read rate limits API (#5302)
Adds a `GET account/rateLimits/read` API to app-server. This calls the
codex backend to fetch the user's current rate limits.

This would be helpful in checking rate limits without having to send a
message.

For calling the codex backend usage API, I generated the types and
manually copied the relevant ones into `codex-backend-openapi-types`.
It'll be nice to extend our internal openapi generator to support Rust
so we don't have to run these manual steps.

# External (non-OpenAI) Pull Request Requirements

Before opening this Pull Request, please read the dedicated
"Contributing" markdown file or your PR may be closed:
https://github.com/openai/codex/blob/main/docs/contributing.md

If your PR conforms to our contribution guidelines, replace this text
with a detailed and high quality description of your changes.
2025-10-20 14:11:54 -07:00
..
archive_conversation.rs fix: remove mcp-types from app server protocol (#4537) 2025-10-01 02:16:26 +00:00
auth.rs Add forced_chatgpt_workspace_id and forced_login_method configuration options (#5303) 2025-10-20 08:50:54 -07:00
codex_message_processor_flow.rs feat: add Vec<ParsedCommand> to ExecApprovalRequestEvent (#5222) 2025-10-15 13:58:40 -07:00
config.rs Add forced_chatgpt_workspace_id and forced_login_method configuration options (#5303) 2025-10-20 08:50:54 -07:00
create_conversation.rs fix: remove mcp-types from app server protocol (#4537) 2025-10-01 02:16:26 +00:00
fuzzy_file_search.rs feat: add file name to fuzzy search response (#4619) 2025-10-02 18:19:13 -07:00
interrupt.rs fix: remove mcp-types from app server protocol (#4537) 2025-10-01 02:16:26 +00:00
list_resume.rs fix: remove mcp-types from app server protocol (#4537) 2025-10-01 02:16:26 +00:00
login.rs Add forced_chatgpt_workspace_id and forced_login_method configuration options (#5303) 2025-10-20 08:50:54 -07:00
mod.rs [app-server] read rate limits API (#5302) 2025-10-20 14:11:54 -07:00
rate_limits.rs [app-server] read rate limits API (#5302) 2025-10-20 14:11:54 -07:00
send_message.rs fix: remove mcp-types from app server protocol (#4537) 2025-10-01 02:16:26 +00:00
set_default_model.rs fix: remove mcp-types from app server protocol (#4537) 2025-10-01 02:16:26 +00:00
user_agent.rs fix: remove mcp-types from app server protocol (#4537) 2025-10-01 02:16:26 +00:00
user_info.rs [app-server] read rate limits API (#5302) 2025-10-20 14:11:54 -07:00