List project rate limits
GEThttps:/api.openai.com/v1/organization/projects/{project_id}/rate_limits
Returns the rate limits per model for a project.
Path parameters
project_id
string
Required
The ID of the project.
Query parameters
limit
integer
Defaults: 100
A limit on the number of objects to be returned. The default is 100.after
string
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.before
string
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.
Response
A list of ProjectRateLimit objects.
Example request
1 curl https://api.openai.com/v1/organization/projects/proj_abc/rate_limits?after=rl_xxx&limit=20 \2 -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \3 -H "Content-Type: application/json"
Example response
1 {2 "object": "list",3 "data": [4 {5 "object": "project.rate_limit",6 "id": "rl-ada",7 "model": "ada",8 "max_requests_per_1_minute": 600,9 "max_tokens_per_1_minute": 150000,10 "max_images_per_1_minute": 1011 }12 ],13 "first_id": "rl-ada",14 "last_id": "rl-ada",15 "has_more": false16 }
Built with