NAME

OpenAPI::Client::OpenAI::Path::organization-projects-project_id-rate_limits-rate_limit_id - Documentation for the /organization/projects/{project_id}/rate_limits/{rate_limit_id} path.

DESCRIPTION

This document describes the API endpoint at /organization/projects/{project_id}/rate_limits/{rate_limit_id}.

PATHS

POST /organization/projects/{project_id}/rate_limits/{rate_limit_id}

Updates a project rate limit.

Operation ID

update-project-rate-limits

$client->update-project-rate-limits( ... );

Parameters

  • project_id (in path) (Required) - The ID of the project.

    Type: string

  • rate_limit_id (in path) (Required) - The ID of the rate limit.

    Type: string

Request Body

Content Type: application/json

Responses

Status Code: 200

Project rate limit updated successfully.

Content Types:

  • application/json

    Example (See the OpenAI spec for more detail):

    {
        "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
    }

Status Code: 400

Error response for various conditions.

Content Types:

SEE ALSO

OpenAPI::Client::OpenAI::Path

COPYRIGHT AND LICENSE

Copyright (C) 2023-2025 by Nelson Ferraz

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.0 or, at your option, any later version of Perl 5 you may have available.