Levain LabsLevain Labs
ApiBilling

Update Tier

Move the workspace to a paid plan (upgrades only).

Move the workspace to a paid plan (upgrades only).

A paid plan's recurring fee is charged to the payment method on file — starting immediately and renewing monthly — so a saved card is required; the first charge settles as part of this request and a declined card cancels the change. The move takes effect at once for usage rates and feature access. Contact us for downgrades or custom plans.

POST
/api/v1/billing/tier

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Header Parameters

X-API-Key?string|null

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://api.levainlabs.com/api/v1/billing/tier" \  -H "Content-Type: application/json" \  -d '{    "tier": "string"  }'
{
  "tier": "string",
  "monthly_fee_usd_micros": 0,
  "build_your_own": true,
  "agents_beyond_assistant": true,
  "included_credits": 0,
  "max_live_agents": 0,
  "billable_agent_count": 0,
  "catalog": [
    {
      "tier": "string",
      "monthly_fee_usd_micros": 0,
      "build_your_own": true,
      "agents_beyond_assistant": true,
      "included_credits": 0,
      "max_live_agents": 0
    }
  ],
  "team_ladder": [
    {
      "included_credits": 0,
      "monthly_fee_usd_micros": 0
    }
  ],
  "billing_provider": "stripe",
  "manage_plan_url": "string"
}