Skip to main content

Pricing Plans API

Overview

The Pricing Plans API provides endpoints for viewing available pricing plans and their restrictions. Plans define limits on resources workspaces can create (projects, environments, resources, cloud connections, etc.). Base Endpoint: /api/pricing-plans All endpoints are publicly accessible (no authentication required). Note: Plans are assigned to workspaces, not individual users. To manage workspace plans, use the Payments API for upgrades/downgrades or the Workspaces API to view a workspace’s current plan.

Pricing Plans Endpoints

List All Pricing Plans

Get all active pricing plans available in the system. Endpoint: GET /api/pricing-plans Authentication: Not required Query Parameters:
  • includeInactive (optional): Include inactive plans (true/false, default: false)
Example Request:
Example Response:
Note: A value of -1 in restrictions means unlimited. Error Responses:
  • 500 Internal Server Error: Failed to retrieve pricing plans

Get Pricing Plan by Slug

Get details of a specific pricing plan by its slug. Endpoint: GET /api/pricing-plans/:slug Authentication: Not required Path Parameters:
  • slug (required): Plan slug (e.g., free, starter, pro, ultimate, or yearly variants like starter-yearly, ultimate-yearly)
Example Request:
Example Response:
Error Responses:
  • 404 Not Found: Plan not found
  • 500 Internal Server Error: Failed to retrieve pricing plan

Plan Restrictions

Plan restrictions are automatically enforced when workspaces try to create resources. If a workspace exceeds its plan limits, it will receive a 403 Forbidden error with details about the limit.

Restriction Types

Example Error Response

When a plan limit is exceeded:

Where Restrictions Are Enforced

Plan restrictions are automatically checked when:
  • Creating Projects - Checks max_projects
  • Creating Environments - Checks max_environments_per_project
  • Creating Resources - Checks max_resources (workspace-wide) and max_resources_per_project (project-level)
    • Servers/Instances
    • Databases
    • Load Balancers
    • Storage Buckets
    • Applications
    • Firewalls
    • Terminals
    • CDNs
    • Functions
    • Static Websites
  • Creating Cloud Connections - Checks max_cloud_connections
  • Inviting workspace members - Checks max_workspace_members (counts active members + pending non-expired invitations)

Default Plans

Free Plan

  • Price: $0/month
  • Projects: 1
  • Environments per Project: 1
  • Total Resources: 5
  • Resources per Project: 5
  • Cloud Connections: 1
  • Workspace members (incl. pending invites): 1

Starter Plan

  • Price: $9.99/month
  • Projects: 3
  • Environments per Project: 3
  • Total Resources: 15
  • Resources per Project: 15
  • Cloud Connections: 3
  • Workspace members (incl. pending invites): 3

Pro Plan

  • Price: $49.99/month
  • Projects: 15
  • Environments per Project: 15
  • Total Resources: 100
  • Resources per Project: 100
  • Cloud Connections: 15
  • Workspace members (incl. pending invites): 15
  • Features: Advanced monitoring, priority support, multi-region, team collaboration

Ultimate Plan

  • Price: $199.99/month
  • Limits: Unlimited (-1 for cap fields), including workspace members
  • Features: All caps unlimited in restrictions; multi-region, team collaboration, priority support, etc. (see seeded features JSON)

Response Fields

Pricing Plan Object


Notes

  • Plans are assigned to workspaces, not individual users
  • All new workspaces are automatically assigned the Free plan
  • Plan restrictions are enforced at the API level
  • A value of -1 in restrictions means unlimited
  • Plan upgrades/downgrades are handled through the Payment API (see Payments API)
  • To get a workspace’s current plan, use the Workspaces API (see Workspaces API)
  • Inactive plans cannot be assigned to workspaces