Skip to main content
This module has typed DTOs and database-backed behavior, but treat the public contract as provisional while the API surface is being stabilized.

Endpoints

  • POST /plans
  • GET /plans
  • GET /plans/:id
  • PATCH /plans/:id
  • DELETE /plans/:id

Request contract

Create body

  • name (string)
  • tier (FREE, STARTER, PRO, ENTERPRISE)
  • maxProjects (int)
  • maxDeployments (int)
  • maxMemoryMi (int)
  • maxCpuM (int)
  • maxStorageGi (int)
  • maxBandwidthGb (int)
  • buildTimeoutMins (int)
  • customDomains, teamMembers, priorityBuilds (optional boolean)

Update body

PATCH /plans/:id accepts a partial subset of create fields.

Response contract

The service uses Prisma-backed entities for list, read, create, update, and delete.