Cost Estimates API
Note: Cost estimation is a paid feature, available as part of the Team & Governance upgrade package. Learn more about Terraform Cloud pricing here.
Show a cost estimate
Note: The hash in the resources
attribute structure represents low-level Cost Estimation details. The keys or structure may change over time. Use the data in this hash at your own risk.
GET /cost-estimates/:id
Parameter | Description |
---|---|
id | The ID of the cost estimate to show. |
There is no endpoint to list cost estimates. You can find the ID for a cost estimate in the
relationships.cost-estimate
property of a run object.
Status | Response | Reason |
---|---|---|
200 | JSON API document (type: "cost-estimates" ) | The request was successful |
404 | JSON API error object | Cost estimate not found, or user unauthorized to perform action |
Sample Request
Sample Response