- Get started
- Introduction
- Authentication
- Making requests
- Streaming
- Audio
- Batch
- Models
- Invites
- Chat
- Users
- Projects
- Project users
- Project service accounts
- Project API keys
- Audit logs
- Usage
- Project rate limits
- Completions
- Uploads
- Embeddings
- Files
- Moderations
- Assistants (v1)
- Threads (v1)
- Messages (v1)
- Runs (v1)
- Images
- Fine-tuning
List project rate limits
GET
https://api.openai.com/v1/organization/projects/proj_abc/rate_limits
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
after
stringÂ
required
Example:
rl_xxx
limit
stringÂ
required
Example:
20
Header Params
Authorization
stringÂ
required
Example:
Bearer $OPENAI_ADMIN_KEY
Content-Type
stringÂ
required
Example:
application/json
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.openai.com/v1/organization/projects/proj_abc/rate_limits?after=rl_xxx&limit=20' \
--header 'Authorization: Bearer $OPENAI_ADMIN_KEY' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200Success
application/json
Body
object
stringÂ
required
data
array [object {6}]Â
required
object
stringÂ
optional
id
stringÂ
optional
model
stringÂ
optional
max_requests_per_1_minute
integerÂ
optional
max_tokens_per_1_minute
integerÂ
optional
max_images_per_1_minute
integerÂ
optional
first_id
stringÂ
required
last_id
stringÂ
required
has_more
booleanÂ
required
Example
{
"object": "list",
"data": [
{
"object": "project.rate_limit",
"id": "rl-ada",
"model": "ada",
"max_requests_per_1_minute": 600,
"max_tokens_per_1_minute": 150000,
"max_images_per_1_minute": 10
}
],
"first_id": "rl-ada",
"last_id": "rl-ada",
"has_more": false
}
Modified at 2024-12-13 10:20:37