Workspaces
List workspaces
Returns all workspaces for the authenticated organization.
Needs a token with viewWorkspace; a workspace token lists its own workspace only.
query Parameters
pageThe page to return, counted from 1. A page below 1 reads page 1; one past the last returns no items.
limitItems per page, from 1 to 100. A larger value is clamped to 100, a smaller one to 1.
List workspaces › Responses
Success
Create workspace
Creates a new workspace for organizing cost data.
Needs an organization token with createWorkspace.
Headers
Idempotency-KeyA unique value, at most 255 printable ASCII characters, such as a UUID, that makes retrying this create safe. A retry with the same key and the same request within 24 hours answers the first response again, marked Idempotent-Replayed: true, and creates nothing; the same key with another request answers 422 idempotency_key_reused. A key is kept only for a create that succeeded. Without it, every request creates.
Create workspace › Request Body
namecurrency^[A-Z]{3}$ · requiredtimeZoneCreate workspace › Responses
Created
id^wsp_[A-Za-z0-9_-]{2… · requirednameGet workspace
Returns details of a specific workspace.
Needs a token with viewWorkspace on the workspace.
path Parameters
workspaceId^wsp_[A-Za-z0-9_-]{2… · requiredGet workspace › Responses
Success
id^wsp_[A-Za-z0-9_-]{2… · requirednamecurrency^[A-Z]{3}$ · requiredenableCurrencyConversionconversionMethodenableAutomaticSyncingblendCommitmentDiscountstimeZoneanomaliesExcludeMarketplaceanomaliesExcludeCommitmentFeesanomalyNotificationThreshold^-?[0-9]+(\.[0-9]{1,… · requiredproviderCountcreatedAtconversionCurrency^[A-Z]{3}$updatedAtUpdate workspace
Updates workspace settings.
Needs an organization token with updateWorkspace.
path Parameters
workspaceId^wsp_[A-Za-z0-9_-]{2… · requiredHeaders
If-MatchApplies the write only while the resource still has this ETag, and answers 412 precondition_failed otherwise. Without it, the last write wins.
Update workspace › Request Body
namecurrency^[A-Z]{3}$enableCurrencyConversionconversionCurrency^[A-Z]{3}$enableAutomaticSyncingblendCommitmentDiscountstimeZoneanomaliesExcludeMarketplaceanomaliesExcludeCommitmentFeesanomalyNotificationThreshold^-?[0-9]+(\.[0-9]{1,…Update workspace › Responses
Success
id^wsp_[A-Za-z0-9_-]{2… · requirednamecurrency^[A-Z]{3}$ · requiredenableCurrencyConversionconversionMethodenableAutomaticSyncingblendCommitmentDiscountstimeZoneanomaliesExcludeMarketplaceanomaliesExcludeCommitmentFeesanomalyNotificationThreshold^-?[0-9]+(\.[0-9]{1,… · requiredproviderCountcreatedAtconversionCurrency^[A-Z]{3}$updatedAtDelete workspace
Deletes a workspace; its reports, dashboards, budgets and everything else in it go with it and cannot be restored. The connections it used belong to the organization and keep their cost data.
Needs an organization token with deleteWorkspace.
path Parameters
workspaceId^wsp_[A-Za-z0-9_-]{2… · requiredHeaders
If-MatchApplies the write only while the resource still has this ETag, and answers 412 precondition_failed otherwise. Without it, the last write wins.
Delete workspace › Responses
No Content