---
title: "Get usage forecast with respect to last number of days specified."
method: GET
path: "/v1/account/usageForecast"
tags: ["accountManagement"]
---

# Get usage forecast with respect to last number of days specified.

`GET /v1/account/usageForecast`

Get usage forecast with respect to last number of days specified. If nothing is provided for  last number of days, the average of term period will be taken to do the forecast.

## Query parameters

- `numberOfDays` number

## Response `200`

Usage Forecast.

- UsageForecastResponse — Usage forecast for the organization.
  - `averageUsage` number, double — Average credit usage per day till now.
  - `usagePercentage` number, double — Percentage of total credits used till date.
  - `forecastedUsage` number, double — Total expected usage by the end of contract period.
  - `forecastedUsagePercentage` number, double — Percentage of allocated credits that will be used in the contract period.
  - `remainingDays` number, double — Days remaining till all the credits are consumed.

## Other responses

- `default` — Operation failed with an error.

---

[API](https://skmtc.net/sumologic/apis/sumo-logic-api.md) · [All operations](https://skmtc.net/sumologic/apis/sumo-logic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sumologic/sumo-logic-api/revisions/18a824df1e78/schema)
