Savings
List savings views
Returns the workspace's saved views of the savings queue, by title.
Needs a token with viewSavingsItems on the workspace.
query Parameters
workspaceId^wsp_[A-Za-z0-9_-]{2… · requiredpageThe 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 savings views › Responses
Success
Create savings view
Saves a set of savings queue filters as a named view of the workspace.
Needs a token with manageSavingsItems on the workspace.
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 savings view › Request Body
workspaceId^wsp_[A-Za-z0-9_-]{2… · requiredtitletabminimumMonthlySaving^-?[0-9]+(\.[0-9]{1,…Create savings view › Responses
Created
id^svw_[A-Za-z0-9_-]{2… · requiredtitletabcreatedAtminimumMonthlySaving^-?[0-9]+(\.[0-9]{1,…updatedAtGet savings view
Returns a saved view of the workspace's savings queue.
Needs a token with viewSavingsItems on the workspace.
path Parameters
savingsViewId^svw_[A-Za-z0-9_-]{2… · requiredquery Parameters
workspaceId^wsp_[A-Za-z0-9_-]{2… · requiredGet savings view › Responses
Success
id^svw_[A-Za-z0-9_-]{2… · requiredtitletabcreatedAtminimumMonthlySaving^-?[0-9]+(\.[0-9]{1,…updatedAtUpdate savings view
Replaces a saved view whole: its title and every filter, a filter left out being cleared.
Needs a token with manageSavingsItems on the workspace.
path Parameters
savingsViewId^svw_[A-Za-z0-9_-]{2… · requiredquery 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 savings view › Request Body
titletabminimumMonthlySaving^-?[0-9]+(\.[0-9]{1,…Update savings view › Responses
Success
id^svw_[A-Za-z0-9_-]{2… · requiredtitletabcreatedAtminimumMonthlySaving^-?[0-9]+(\.[0-9]{1,…updatedAtDelete savings view
Deletes a saved view of the savings queue; the findings it listed stay.
Needs a token with manageSavingsItems on the workspace.
path Parameters
savingsViewId^svw_[A-Za-z0-9_-]{2… · requiredquery 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 savings view › Responses
No Content
Get savings finding
Returns one finding of the workspace's savings queue with its evidence and its latest measurement. A curated finding is found only on a plan that includes curated savings.
Needs a token with viewSavingsItems on the workspace.
path Parameters
savingsItemId^sav_[A-Za-z0-9_-]{2… · requiredquery Parameters
workspaceId^wsp_[A-Za-z0-9_-]{2… · requiredGet savings finding › Responses
Success
id^sav_[A-Za-z0-9_-]{2… · requiredtitleevidenceestimatedMonthlySaving^-?[0-9]+(\.[0-9]{1,… · requiredcurrency^[A-Z]{3}$ · requiredcostBasisownerconfidenceriskeffortstatussourcecreatedAtrejectionReasonverifiedMonthlySaving^-?[0-9]+(\.[0-9]{1,…resourcescopelastSeenAtlastMeasurementScopelastMeasurementRealizedMonthly^-?[0-9]+(\.[0-9]{1,…lastMeasuredAtacceptedAtimplementedAtverifiedAtrejectedAtupdatedAtList savings findings
Returns the workspace's savings queue: one tab's findings, or every status without one, narrowed by source, kind, the connection that generated them and a minimum monthly saving, newest first or largest saving first. Costfluent's curated findings are listed only on a plan that includes them. An unknown cloudAccountId matches no finding.
Needs a token with viewSavingsItems on the workspace.
query Parameters
workspaceId^wsp_[A-Za-z0-9_-]{2… · requiredtabsourcekindcloudAccountIdminimumMonthlySaving^-?[0-9]+(\.[0-9]{1,…sortpageThe 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 savings findings › Responses
Success