{"command":{"effect":"write","timeoutSeconds":120,"inputSchema":{"type":"object","description":"Create or replace a project's hard spend limit.","properties":{"path":{"type":"object","properties":{"project_id":{"type":"string","examples":["proj_123"],"description":"The ID of the project whose hard spend limit is being managed."}},"required":["project_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/UpdateProjectSpendLimitBody"}},"required":["path","body"],"additionalProperties":false,"definitions":{"UpdateProjectSpendLimitBody":{"properties":{"threshold_amount":{"type":"integer","minimum":1,"description":"The hard spend limit amount, in cents."},"currency":{"type":"string","enum":["USD"],"description":"The currency for the threshold amount. Currently, only `USD` is supported."},"interval":{"type":"string","enum":["month"],"description":"The time interval for evaluating spend against the threshold. Currently, only `month` is supported."}},"type":"object","required":["threshold_amount","currency","interval"],"description":"Parameters for the hard spend limit you want to create or replace."}}},"name":"Update project spend limit","id":"openai.updateprojectspendlimit","example":{"path":{"project_id":"proj_123"},"body":{"threshold_amount":1,"currency":"USD","interval":"month"}},"maxRequests":1,"summary":false}}