Home / Servers / OpenAI API / update_project_rate_limits

Modify project rate limit

An MCP tool from the OpenAI API server, hosted on mcp.hjlabs.in.

Modify project rate limit Updates a project rate limit. [POST /organization/projects/{project_id}/rate_limits/{rate_limit_id}]

Name on the gateway: openai_api__update_project_rate_limits · may change things.

Parameters

NameTypeDescription
project_id requiredstringThe ID of the project.
rate_limit_id requiredstringThe ID of the rate limit.
max_requests_per_1_minuteintegerThe maximum requests per minute.
max_tokens_per_1_minuteintegerThe maximum tokens per minute.
max_images_per_1_minuteintegerThe maximum images per minute. Only relevant for certain models.
max_audio_megabytes_per_1_minuteintegerThe maximum audio megabytes per minute. Only relevant for certain models.
max_requests_per_1_dayintegerThe maximum requests per day. Only relevant for certain models.
batch_1_day_max_input_tokensintegerThe maximum batch input tokens per day. Only relevant for certain models.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "openai_api__update_project_rate_limits",
  "arguments": {
    "project_id": "…",
    "rate_limit_id": "…"
  }
}

Or connect the OpenAI API server directly, which lists 371 tools including this one:

Run in your terminal
claude mcp add --transport http hj-openai-api https://mcp.hjlabs.in/mcp/openai-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the modify project rate limit tool with project_id set to ….

More from OpenAI API