Search + K

Command Palette

Search for a command to run...

Sign In

Returns the rate limits per model for a project.

GET /organization/projects/{project_id}/rate_limits
Copy endpoint
https://api.openai.com/v1

Parameters

path Path Parameters

Name Type
project_id required

The ID of the project.

string

query Query Parameters

Name Type
limit

A limit on the number of objects to be returned. The default is 100.

number
after

A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.

string
before

A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, beginning with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.

string

Responses

200 application/json

Project rate limits listed successfully.

interface ProjectRateLimitListResponse {
object: "list";
data: ProjectRateLimit

Represents a project rate limit config.

interface ProjectRateLimit {
object: "project.rate_limit";
id: string;
model: string;
max_requests_per_1_minute: number;
max_tokens_per_1_minute: number;
max_images_per_1_minute?: number;
max_audio_megabytes_per_1_minute?: number;
max_requests_per_1_day?: number;
batch_1_day_max_input_tokens?: number;
}
[]
;
first_id: string;
last_id: string;
has_more: boolean;
}