Savings Estimate | API & MCP Reference | Archera

Estimate savings from an uploaded billing file

Endpoint

post/v1/org/{org_id}/savings-estimate

Parses a completed PDF or CSV billing upload and returns normalized costs and provider-specific savings estimates.

Path parameters

Body

Content-Type: application/json

Responses

Show properties

Example HTTP Request

POST /v1/org/{org_id}/savings-estimate HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 52

{
  "upload_id": "123e4567-e89b-12d3-a456-426614174000"
}

Example Response

{
  "provider": "aws",
  "source_format": "text",
  "period_start": null,
  "period_end": null,
  "account_id": null,
  "currency": "text",
  "is_projected": true,
  "line_items": [
    {
      "service": "text",
      "reservable_service": null,
      "resource_type": null,
      "usage_quantity": {
        "estimate": 1,
        "lower_bound": null,
        "upper_bound": null
      },
      "usage_unit": null,
      "cost": {
        "estimate": 1,
        "lower_bound": null,
        "upper_bound": null
      },
      "region": null,
      "spend_type": "on_demand",
      "savings_estimate": {
        "estimate": 1,
        "lower_bound": null,
        "upper_bound": null
      }
    }
  ],
  "total_cost": {
    "estimate": 1,
    "lower_bound": null,
    "upper_bound": null
  },
  "total_savings_estimate": {
    "estimate": 1,
    "lower_bound": null,
    "upper_bound": null
  }
}