POST
/
organization
/
projects
/
{project_id}
/
rate_limits
/
{rate_limit_id}
curl --request POST \
  --url https://api.openai.com/v1/organization/projects/{project_id}/rate_limits/{rate_limit_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "max_requests_per_1_minute": 123,
  "max_tokens_per_1_minute": 123,
  "max_images_per_1_minute": 123,
  "max_audio_megabytes_per_1_minute": 123,
  "max_requests_per_1_day": 123,
  "batch_1_day_max_input_tokens": 123
}'
{
  "object": "project.rate_limit",
  "id": "<string>",
  "model": "<string>",
  "max_requests_per_1_minute": 123,
  "max_tokens_per_1_minute": 123,
  "max_images_per_1_minute": 123,
  "max_audio_megabytes_per_1_minute": 123,
  "max_requests_per_1_day": 123,
  "batch_1_day_max_input_tokens": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

The ID of the project.

rate_limit_id
string
required

The ID of the rate limit.

Body

application/json

The project rate limit update request payload.

The body is of type object.

Response

200
application/json

Project rate limit updated successfully.

Represents a project rate limit config.