Documentation Index
Fetch the complete documentation index at: https://docs.gateways.app/llms.txt
Use this file to discover all available pages before exploring further.
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)
-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 likestarter-yearly,ultimate-yearly)
404 Not Found: Plan not found500 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 a403 Forbidden error with details about the limit.
Restriction Types
| Restriction | Description | Unlimited Value |
|---|---|---|
max_projects | Maximum number of projects | -1 |
max_environments_per_project | Maximum environments per project | -1 |
max_resources | Maximum total resources across all projects | -1 |
max_resources_per_project | Maximum resources per project | -1 |
max_cloud_connections | Maximum cloud provider connections | -1 |
max_workspace_members | Maximum workspace members (active) plus pending invitations | -1 |
features_disabled | Array of disabled feature names | [] |
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) andmax_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 (
-1for cap fields), including workspace members - Features: All caps unlimited in restrictions; multi-region, team collaboration, priority support, etc. (see seeded
featuresJSON)
Response Fields
Pricing Plan Object
| Field | Type | Description |
|---|---|---|
id | number | Unique plan ID |
name | string | Plan name (e.g., “Free”, “Starter”) |
slug | string | URL-friendly identifier (e.g., “free”, “starter”) |
description | string | null | Plan description |
price | number | Monthly price in USD |
pricePeriod | string | Billing period (month or year) |
isActive | boolean | Whether the plan is currently available |
restrictions | object | Plan restrictions (see Restriction Types above) |
features | array | List of plan features |
createdAt | string | Timestamp when plan was created (ISO 8601) |
updatedAt | string | Timestamp when plan was last updated (ISO 8601) |
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
-1in 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