Admin

Set or clear a workspace's monthly cap on host-funded LLM spend

put/admin/workspaces/{workspaceSlug}/llm/budget

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /admin/workspaces/{workspaceSlug}/llm/budget
  • Auth: HTTP bearer

Path parameters

workspaceSlugstring required

Request body

monthlyBudgetUsdnumber

Cap in USD; 0 pauses the affected work immediately, null removes the cap. The purse it governs is the one the path names, and only that one: /admin/workspaces/{workspaceSlug}/llm/budget caps spend on shared (instance) models, /workspaces/{workspaceSlug}/llm/budget caps the workspace's spend on its own connected provider. The two are never added together.

Response

Cap updated

Changes

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