Retrieve Workspace Spend Limit
Get a workspace's spend limit and its spend in the current period.
Get a workspace's spend limit and what the workspace has spent in the limit's current period. Works for the Default Workspace and archived workspaces too.
GET /v1/organizations/workspaces/:workspace_id/spend_limitPath parameters
workspace_idstringrequiredThe workspace's ID.
Response
(object)SpendLimitoptionalThe spend limit object.
Without a limit, amount is null, period is monthly, enforce is
false and current_spend is the workspace's spend this month.
Errors
| Status | Reason |
|---|---|
404 | No workspace with this ID exists in your organization. |