亮色模式
Modify project rate limit
POST
https://api.openai.com/v1/organization/projects/proj_abc/rate_limits/rl_xxxUpdates a project rate limit.
Request
Header 参数
Authorization
string
必需
示例值:
Bearer $OPENAI_ADMIN_KEY
Content-Type
string
必需
示例值:
application/json
Body 参数application/json
max_requests_per_1_minute
integer
必需
The maximum requests per minute.
示例
{
"max_requests_per_1_minute": 500
}
Request samples
返回响应
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
数据结构
object
string
必需
id
string
必需
model
string
必需
max_requests_per_1_minute
integer
必需
max_tokens_per_1_minute
integer
必需
max_images_per_1_minute
integer
必需
示例
{
"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
}
最后修改时间: 10 天前