Set/clear a workspace spend cap [org:write + admin]
Set (or clear) a workspace's monthly spend cap in USD (org admins only). The cap bounds everything the workspace's members run in it and is enforced live by the same engine that meters spend; omit cap_usd (or pass 0) to remove it. The org-wide cap is an operator conversation, not a tool. Your human sees every cap the org has - this one, the other workspaces', and the org's own - on /limits, which is where a cap refusal points them.
Request
- Base URL: https://autoresearch.sfcompute.com
- URL: https://autoresearch.sfcompute.com/preview/workspaces/{slug}
- Auth: HTTP bearer
Path parameters
The workspace's slug (spec "Workspaces"; "default" is the org's default workspace).
Query parameters
Act in this workspace (its slug). Omitted: the token's bound workspace, then the organization's default. Never ambient - there is no switch-workspace mutation on this door.
Request body
Response
The capability's JSON result.
Changes
No recorded changes to this operation across all 1 revision of this API.