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_limit

Path parameters

workspace_idstringrequired

The workspace's ID.

Response

(object)SpendLimitoptional

The 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

StatusReason
404No workspace with this ID exists in your organization.