---
title: "Update Consumption Profile"
method: PUT
path: "/tenants/{tenant_id}/projects/{id}/consumption_profile"
tags: ["Consumption Profiles"]
---

# Update Consumption Profile

`PUT /tenants/{tenant_id}/projects/{id}/consumption_profile`

Update the existing consumption profile for a project.

---

This request accepts *only one* of the following values for each request.

- `monthly_energy`: An array of exactly 12 monthly energy values in kWh. Null values are allowed and represented as "null".

- `monthly_bill`: An array of exactly 12 monthly bill values in USD. Null values are allowed and represented as "null".

- `interval_data`: An array of exactly (8760, 8784, 17520, 17568, 35040, or 35136) energy values in kWh. Null values are allowed and represented as "null".
  - The array must contain at least 1 complete month of contiguous non-null values.
  - The first array value must correspond to the first interval of the year beginning at 1 January 00:00.

## Path parameters

- `tenant_id` string, uuid, required
- `id` string, uuid, required

## Request body

- object
  - `consumption_profile` object — Consumption profile fields to update.
    - `monthly_bill` number[] — An array of the monthly bills in USD. Null values allowed as "null".
    - `monthly_energy` number[] — An array of the monthly energy in kWh. Null values allowed as "null".
    - `interval_data` number[] — An array of the energy values for each 15/30/60 minute interval from the beginning to end of a common/leap year, in kWh. Null values allowed as "null". Array length must be exactly 8760, 8784, 17520, 17568, 35040, or 35136 values.

## Response `200`

Project successfully updated.

- object
  - `consumption_profile` object
    - `id` string, uuid — Unique ID identifying the consumption profile.
    - `project_id` string, uuid — Unique ID identifying the project that the consumption profile belongs to.
    - `location` string — Name of a nearby weather station that was used as the source of weather data.
    - `utility` string — Name of the utility company that the homeowner is connected to before going solar.
    - `utility_id` string, uuid — Unique ID of the utility company that the homeowner is connected to. Field is omitted if utility rate is derived from Genability.
    - `utility_rate` string — Name of the specific utility rate/plan that the homeowner is on, before going solar.
    - `utility_rate_id` string, uuid — Unique ID of the specific utility rate/plan that the homeowner is on, before going solar. Field is omitted if utility rate is derived from Genability.
    - `utility_rate_version` string — Specific time interval that the homeowner was referring to, when providing energy (kWh) or bill information of a given month. The effective time interval of the utility rate that was used in the calculation of the consumption profile.
    - `utility_rate_version_id` string, uuid — Unique ID of the specific time interval that the homeowner was referring to, when providing energy (kWh) or bill information of a given month.
    - `input_mode` 'bill' | 'energy' — Indicates whether the user inputed "bill" or "energy" values during the creation of the consumption profile.
    - `input_values` number[] — Specifies which values of either "bill" or "energy" were manually entered by the user. "null" is returned for values that were computed by Aurora without the explicit input of the user.
    - `monthly_energy` number[] — Monthly consumption of energy in kWh from Jan - Dec.
    - `monthly_bill` number[] — Monthly bill in USD from Jan - Dec.
    - `hourly_energy` number[] — Energy consumption in kWh broken down by hour (8760 values)
    - `efficiency_packages` object[] — A list of efficiency packages applied to this consumption profile.
      - `efficiency_package_name` string — Name of the efficiency package.
      - `efficiency_package_value` number, double — Value in percent of the efficiency package.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity

---

[API](https://skmtc.dev/aurorasolar/apis/sync-api.md) · [All operations](https://skmtc.dev/aurorasolar/apis/sync-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aurorasolar/sync-api/revisions/5b41808d104d/schema)
