---
title: "Preview what changing to another plan costs today"
method: POST
path: "/api/workspaces/{workspaceId}/billing/change-plan/preview"
tags: ["Billing"]
---

# Preview what changing to another plan costs today

`POST /api/workspaces/{workspaceId}/billing/change-plan/preview`

## Request

- Base URL: `https://hiveship.app/api`
- URL: `https://hiveship.app/api/api/workspaces/{workspaceId}/billing/change-plan/preview`
- Auth: API key in cookie `hiveship_access`

Drives the change-plan dialog's amount line. Prorated for the remainder of the current period on an upgrade, returned as credit on a downgrade, and zero while trialing. Idempotent; raises no invoice and moves no money.

## Path parameters

- `workspaceId` string, required

## Response `200`

Proration preview for the requested plan change

---

[API](https://skmtc.dev/hiveship/apis/hiveship-api.md) · [All operations](https://skmtc.dev/hiveship/apis/hiveship-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hiveship/apis/hiveship-api/revisions/73d3e26544e4?raw)
