---
title: "Whether sustained load calls for a larger VPS, and its price"
method: GET
path: "/services/{id}/resize/recommendation"
tags: ["Services"]
---

# Whether sustained load calls for a larger VPS, and its price

`GET /services/{id}/resize/recommendation`

## Request

- Base URL: `https://api.imprezahost.com/v1`
- URL: `https://api.imprezahost.com/v1/services/{id}/resize/recommendation`
- Auth: API key in header `X-API-Key` and API key in header `X-API-Secret`

Reads the hourly load the optional Impreza agent reports for this configurable VPS (14 days
kept) and says, per resource, whether it has been under sustained pressure rather than a
peak: at least 48 complete hours (45+ minutes reported) in the last 72, CPU at or above 80 %
or memory at or above 85 % in 75 % of them and over the last 6, disk at or above 85 % in
each of the last 24. Hysteresis (CPU closes below 65 %, memory below 70 %, disk below 75 %)
and a 24 h cooldown keep it from flapping; hours from before the VPS last changed size are
not counted. When recommended, `proposal` carries the sizes, the same quote as
`/services/{id}/resize/quote` and `apply`, the resize body. Nothing is ordered; applying it
is `POST /services/{id}/resize` with its own scope and balance checks.

## Path parameters

- `id` integer, required

## Response `200`

`recommended`, `no_recommendation`, `insufficient_data`, `stale` or `not_applicable`

## Other responses

- `400`: Not a configurable VPS
- `404`: No such VPS on this account

---

[API](https://skmtc.dev/imprezahost/apis/impreza-host-public-api.md) · [All operations](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/revisions/db86511f604f?raw)
