---
title: "Preview plan change (shows overage counts)"
method: GET
path: "/api/billing/change-plan/preview"
tags: ["billing", "internal"]
---

# Preview plan change (shows overage counts)

`GET /api/billing/change-plan/preview`

## Query parameters

- `plan` string, required

## Response `200`

Plan change preview

- ApiResponseChangePlanPreview
  - `data` object
    - `excess_hosts` integer, required
    - `excess_networks` integer, required
    - `excess_seats` integer, required
  - `error` string, nullable
  - `meta` ApiMeta, required — API metadata included in all responses
    - `api_version` integer, required — API version (integer, increments on breaking changes)
    - `server_version` string, required — Server version (semver)
  - `success` boolean, required

## Other responses

- `400` — Billing not enabled

---

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