---
title: "Switch Plans User Route"
method: POST
path: "/billing/plans/switch"
tags: ["Billing"]
---

# Switch Plans User Route

`POST /billing/plans/switch`

## Query parameters

- `plan` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-05-19** `a7f9a6823230` — 7 breaking
  - removed the enum value `cloud_v0_agenta_ai` from the `query` request parameter `plan`
  - removed the enum value `cloud_v0_business` from the `query` request parameter `plan`
  - removed the enum value `cloud_v0_hobby` from the `query` request parameter `plan`
  - removed the enum value `cloud_v0_humanity_labs` from the `query` request parameter `plan`
  - …3 more
- **2026-03-25** `1a7add263770` — 1 info
  - added the new enum value `self_hosted_enterprise` to the `query` request parameter `plan`
- **2026-02-13** `72fe88316d15` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2025-11-05** `e62506c24377` — 1 info
  - added the new enum value `cloud_v0_business` to the `query` request parameter `plan`
- **2025-06-27** `e3e84db47198` — 1 breaking, 2 warning, 5 info
  - the `query` request parameter `plan` was restricted to a list of enum values
  - removed the optional property `detail/items/ctx` from the response with the `422` status
  - removed the optional property `detail/items/input` from the response with the `422` status
  - added the new enum value `cloud_v0_agenta_ai` to the `query` request parameter `plan`
  - …4 more

[Change history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/billing/plans/switch/post.md)

---

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