---
title: "Estimate savings from an uploaded billing file"
method: POST
path: "/v1/org/{org_id}/savings-estimate"
tags: ["Savings Estimate"]
---

# Estimate savings from an uploaded billing file

`POST /v1/org/{org_id}/savings-estimate`

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

## Request body

- SavingsEstimateRequest
  - `upload_id` string, uuid, required

## Response `200`

OK

- SavingsEstimate
  - `provider` 'aws' | 'azure' | 'gcp' | 'null', nullable, required
  - `source_format` string, required
  - `period_start` string, date, nullable, required
  - `period_end` string, date, nullable, required
  - `account_id` string, nullable, required
  - `currency` string, required
  - `is_projected` boolean, required
  - `extraction_status` 'complete' | 'partial' | 'unverified', required
  - `line_items` CostLineItem[], required
    - `service` string, required
    - `reservable_service` string, nullable, required
    - `resource_type` string, nullable, required
    - `usage_quantity` ValueRange, required
      - `estimate` number, required
      - `lower_bound` number, nullable, required
      - `upper_bound` number, nullable, required
    - `usage_unit` string, nullable, required
    - `cost` ValueRange, required
      - `estimate` number, required
      - `lower_bound` number, nullable, required
      - `upper_bound` number, nullable, required
    - `region` string, nullable, required
    - `spend_type` 'on_demand' | 'reserved' | 'unreservable' | 'unknown', required
    - `savings_estimate` ValueRange, required
      - `estimate` number, required
      - `lower_bound` number, nullable, required
      - `upper_bound` number, nullable, required
  - `total_cost` ValueRange, required
    - `estimate` number, required
    - `lower_bound` number, nullable, required
    - `upper_bound` number, nullable, required
  - `total_savings_estimate` ValueRange, required
    - `estimate` number, required
    - `lower_bound` number, nullable, required
    - `upper_bound` number, nullable, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `405` — Method not allowed
- `409` — Conflict
- `422` — Unprocessable Content
- `500` — Internal server error
- `default` — Default error response

---

[API](https://skmtc.net/archera/apis/archera-ai-api.md) · [All operations](https://skmtc.net/archera/apis/archera-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/archera/archera-ai-api/revisions/f4d407b9f0f9/schema)
