Update Desk Org Settings
Update org-level desk settings. PARTIAL - unset fields are untouched.
Requires settings:write, declared on this route because the app's own gate is a Depends-defaulted PARAMETER of the handler and a direct call resolves nothing.
THIS IS THE ORG'S ON SWITCH, AND ITS SPEND CAPS. Saving here registers the org on the desk worker's poll list - and saving every decision off unregisters it - so this one call starts or stops the desk producing work for the whole organisation. It also carries max_auto_account_plans_per_day, max_account_replans_per_day and max_skill_plans_per_day, which are daily caps on CHARGED model calls, and desk_acts_on_signals, desk_drafts_with_ai and stalled_deal_send_email, which let the desk act and email on its own. A plain write would make raising an org's spend cap the same grant as renaming a record.
400 with the reason on anything the settings validator refuses, including an empty body - "no settings provided" is an error here rather than a silent no-op.
Request
- Base URL: https://be.graph8.com/api/v1
- URL: https://be.graph8.com/api/v1/desk/org-settings
- Auth: HTTP bearer
Headers
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.