Sample - OpenAI API
GET/organization/projects/{project_id}/rate_limits

List project rate limits

Lists the rate limit configurations for the models in a project. Use limit to control the page size and after or before with object IDs to navigate through the results.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

4 parameters
project_idstringrequired
The unique identifier of the project whose rate limits to list.
limitintegeroptional
Maximum number of rate limit objects to return. Defaults to 100 when omitted.
Default:100
afterstringoptional
A cursor containing the object ID after which to continue listing rate limits.
beforestringoptional
A cursor containing the object ID before which to retrieve the preceding rate limits.

1 status code
200Returns a list object containing rate limit configurations in `data`, pagination identifiers in `first_id` and `last_id`, and a `has_more` indicator.
objectstringrequired
Allowed:list
dataarray<object>required
first_idstringoptional
last_idstringoptional
has_morebooleanrequired

Error handling

project_id must identify the project whose rate limits you want to list. limit defaults to 100 when omitted, while after and before must contain object IDs used as pagination cursors.