Get project spend limit

Changed on

Get a project's hard spend limit.

get/organization/projects/{project_id}/spend_limit

Request

  • Base URL
    https://api.openai.com/v1
  • URL
    https://api.openai.com/v1/organization/projects/{project_id}/spend_limit
  • Auth
    HTTP bearer

Path parameters

project_idstring required
Example:proj_123

The ID of the project whose hard spend limit is being managed.

Response

Hard spend limit retrieved successfully.

object'project.spend_limit' required

The object type, which is always project.spend_limit.

threshold_amountinteger required

The hard spend limit amount, in cents.

Changes

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status