# List cost changes for all stages

List cost changes for all stages from the latest plan and last applied state for the current execution.

Pass pipeline_stage_id to narrow the result to a single stage. A matrix run has one
stage per workspace, so a caller that is already looking at one of them - the approval
step, for instance - should name it rather than filter the whole collection itself.

Endpoint: GET /iacm/api/orgs/{org}/projects/{project}/executions/{pipeline_execution_id}/cost-changes-all-stages
Version: 1.0
Security: x-api-key

## Query parameters:

  - `pipeline_stage_id` (string)
    Example: "Aperiam nemo qui et ea dolores porro."

## Path parameters:

  - `org` (string, required)
    Org is the organisation identifier.
    Example: "4a"

  - `project` (string, required)
    Project is the project identifier.
    Example: "3m"

  - `pipeline_execution_id` (string, required)
    Pipeline execution ID
    Example: "o"

## Header parameters:

  - `Harness-Account` (string, required)
    Account is the internal customer account ID.
    Example: "x2y"

## Response 200 fields (application/json):

  - `currency` (string, required)
    Currency of the costs
    Example: "Alias consequuntur."

  - `diff` (object, required)
    Map of the type of resources and their costs.
    Example: {"Odio aut.":{"current_monthly_cost":"Qui ipsam quos omnis.","diff":[{"current_monthly_cost":"Omnis laborum necessitatibus ab et.","diff_monthly_cost":"Laborum ea labore quo reprehenderit beatae alias.","name":"Est perferendis ad sequi aut nihil.","percentage_change_monthly_cost":5026608133530485000,"previous_monthly_cost":"Ad dolores exercitationem aut.","subresources":{"Ipsa fugiat eum id.":{"current_monthly_cost":"Explicabo error.","diff_monthly_cost":"Doloribus dolor magni minima doloribus harum aspernatur.","percentage_change_monthly_cost":6157949801981091000,"previous_monthly_cost":"Id suscipit numquam."},"Quia et.":{"current_monthly_cost":"Explicabo error.","diff_monthly_cost":"Doloribus dolor magni minima doloribus harum aspernatur.","percentage_change_monthly_cost":6157949801981091000,"previous_monthly_cost":"Id suscipit numquam."}}},{"current_monthly_cost":"Omnis laborum necessitatibus ab et.","diff_monthly_cost":"Laborum ea labore quo reprehenderit beatae alias.","name":"Est perferendis ad sequi aut nihil.","percentage_change_monthly_cost":5026608133530485000,"previous_monthly_cost":"Ad dolores exercitationem aut.","subresources":{"Ipsa fugiat eum id.":{"current_monthly_cost":"Explicabo error.","diff_monthly_cost":"Doloribus dolor magni minima doloribus harum aspernatur.","percentage_change_monthly_cost":6157949801981091000,"previous_monthly_cost":"Id suscipit numquam."},"Quia et.":{"current_monthly_cost":"Explicabo error.","diff_monthly_cost":"Doloribus dolor magni minima doloribus harum aspernatur.","percentage_change_monthly_cost":6157949801981091000,"previous_monthly_cost":"Id suscipit numquam."}}},{"current_monthly_cost":"Omnis laborum necessitatibus ab et.","diff_monthly_cost":"Laborum ea labore quo reprehenderit beatae alias.","name":"Est perferendis ad sequi aut nihil.","percentage_change_monthly_cost":5026608133530485000,"previous_monthly_cost":"Ad dolores exercitationem aut.","subresources":{"Ipsa fugiat eum id.":{"current_monthly_cost":"Explicabo error.","diff_monthly_cost":"Doloribus dolor magni minima doloribus harum aspernatur.","percentage_change_monthly_cost":6157949801981091000,"previous_monthly_cost":"Id suscipit numquam."},"Quia et.":{"current_monthly_cost":"Explicabo error.","diff_monthly_cost":"Doloribus dolor magni minima doloribus harum aspernatur.","percentage_change_monthly_cost":6157949801981091000,"previous_monthly_cost":"Id suscipit numquam."}}}],"diff_monthly_cost":"Eligendi ut similique et dolorem.","percentage_change_monthly_cost":20060397572366616,"previous_monthly_cost":"Earum non qui enim voluptas repudiandae."}}

  - `diff_total_monthly_cost` (string, required)
    Difference of cost between workspaces per month
    Example: "Porro fugit."

  - `past_total_monthly_cost` (string, required)
    Total cost of the resources per month for the last workspace
    Example: "Et id neque autem quam."

  - `percentage_change_total_monthly_cost` (integer, required)
    The change between the costs per month represented as a percentage
    Example: 5656483182074423000

  - `stage_execution_id` (string, required)
    The stage execution ID
    Example: "Magnam officia consequatur."

  - `stage_id` (string, required)
    The stage ID
    Example: "Quasi aspernatur ex perferendis at voluptatibus recusandae."

  - `total_monthly_cost` (string, required)
    Total cost of the resources per month
    Example: "Perferendis assumenda expedita eum voluptas."

  - `workspace_id` (string, required)
    The workspace identifier
    Example: "Inventore repellendus."

## Response 400 fields (application/vnd.goa.error):

  - `fault` (boolean, required)
    Is the error a server-side fault?
    Example: true

  - `id` (string, required)
    ID is a unique identifier for this particular occurrence of the problem.
    Example: "123abc"

  - `message` (string, required)
    Message is a human-readable explanation specific to this occurrence of the problem.
    Example: "parameter 'p' must be an integer"

  - `name` (string, required)
    Name is the name of this class of errors.
    Example: "bad_request"

  - `temporary` (boolean, required)
    Is the error temporary?
    Example: true

  - `timeout` (boolean, required)
    Is the error a timeout?


