workspaces

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.

patch/preview/workspaces/{slug}

Request

  • Base URL: https://autoresearch.sfcompute.com
  • URL: https://autoresearch.sfcompute.com/preview/workspaces/{slug}
  • Auth: HTTP bearer

Path parameters

slugstring required

The workspace's slug (spec "Workspaces"; "default" is the org's default workspace).

Query parameters

workspacestring

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

cap_usdnumber double nullable

Monthly spend cap in USD. Omit (or 0) to remove the cap.

orgstring nullable

Organization (uuid or name); omitted = your active org.

Response

The capability's JSON result.

objectstring

The resource type, when the result is one resource.

Changes

No recorded changes to this operation across all 1 revision of this API.