Organization
Set Member Budget
Cap a member’s monthly spend on your organization’s keys at /api/v1/org/members//budget
PUT
Set a member budget
Overview
Gives an organization member a monthly budget in US dollars, so one person can’t use up the whole team’s balance. Admins can set the same budgets on the Members page.429 with code member_budget_exceeded until the 1st of next month (UTC), or until you raise or remove the budget. Their personal keys are not affected, and organization admins get an email when a member is paused.
The change takes effect immediately: a budget at or below what the member already spent this month pauses them now, and raising it resumes them. Spend updates about every 30 minutes, so a member can go slightly past the budget before the pause lands.
Send {"monthlyLimit": null} or call Remove Member Budget to remove the budget. Requires an organization API key owned by an organization admin.Authorizations
Morph API key, passed as Authorization: Bearer sk-.... Create keys at https://www.morphllm.com/dashboard/api-keys.
Path Parameters
Body
application/json
The monthly budget in USD, or null to remove it.
Response
The member’s budget after the change.
A member’s monthly budget and spend.