Projects

Projects

Projects in WoWSQL are isolated environments where you can manage your database, authentication, storage, and all other services. Each project has its own database, API keys, and configuration.

Creating a Project

You can create a project through:

  • Dashboard - Web interface at app.wowsql.com
  • CLI - wowsql projects create <name> (see CLI → Projects)
  • API - REST API endpoints

Project Configuration

Each project includes:

  • Project Slug - Unique identifier for your project
  • Database - Isolated Postgres database
  • Region - Choose the closest region to your users (see Regions)
  • Deployment Type:
    • Shared - Free plan; shared, isolated Postgres. Perfect for development and small apps
    • Dedicated (Pulse / Forge) - Your project gets its own VM, billed hourly. Pulse sizes on Pro and Scale; Forge sizes on Scale only (see Compute sizes)
  • API Keys - Anon key (public, wowsql_anon_...) and service role key (secret, wowsql_service_...)
  • Database password - Set by you on the create form, or generated for you (see Database password)
  • Data API security - Data API, automatic table exposure and automatic RLS switches (see Data API security)
  • Spending mode - Paid plans: what happens when usage passes the plan (see Spending mode)

Regions

New projects can be created in these regions:

  • Asia Pacific (Mumbai) — ap-south-1 (default)
  • US East (N. Virginia) — us-east-1
  • Europe (Frankfurt) — eu-central-1

Not offered for new projects (the API rejects these with 400 "Unsupported region"):

  • US West (Oregon) — us-west-2
  • Europe (Ireland) — eu-west-1
  • Southeast Asia (Singapore) — ap-southeast-1

All three regions are live. The create form lists the regions returned by GET /api/v1/infrastructure/regions (currently ap-south-1, us-east-1 and eu-central-1, all with available: true); a region that is temporarily unavailable is shown as Coming soon and cannot be selected.

Compute sizes

Shared projects run on the Free plan, which includes 256 MB of database storage, 512 MB of file storage, 5 GB of egress per month and 10,000 monthly active auth users (see Usage limits). Dedicated instances are available on the Pro and Scale plans and are metered by the hour, including Pulse Nano (Pro no longer includes a free bundled instance). The dashboard shows the current hourly price for each size.

SizeFamily / plansvCPURAMStorageIncluded egress / month
Pulse NanoPulse — Pro, Scale2512 MB10 GB25 GB
Pulse MicroPulse — Pro, Scale21 GB20 GB50 GB
Pulse SmallPulse — Pro, Scale22 GB40 GB100 GB
Pulse MediumPulse — Pro, Scale24 GB80 GB200 GB
Pulse LargePulse — Pro, Scale28 GB160 GB400 GB
Pulse XLPulse — Pro, Scale416 GB320 GB800 GB
Pulse 2XLPulse — Pro, Scale832 GB640 GB1600 GB
Forge MediumForge — Scale only14 GB80 GB250 GB
Forge LargeForge — Scale only28 GB160 GB500 GB
Forge XLForge — Scale only416 GB320 GB1000 GB
Forge 2XLForge — Scale only832 GB640 GB2000 GB
Forge 4XLForge — Scale only1664 GB1280 GB4000 GB

You can move a Free shared project to a dedicated instance later from Project Settings. To resize a project that already has a dedicated instance, open a support request.

Database password

On the dashboard create form, type a database password or click Generate a password. It must be 8–128 characters with an upper-case letter, a lower-case letter and a digit; symbols are allowed, spaces are not. Through the API, db_password is optional: if you omit it, WoWSQL generates one and returns it in the create response as db_password.

CLI: In wowsql-cli 1.7.0 (the current PyPI release), --password is sent as the database password (the same rules apply); without it, WoWSQL generates a password and returns it as the db_password field of the command output. Later CLI releases may always generate the password and print it once on its own line instead. Either way, copy the password as soon as the project is created.

To change it later, open Project Settings → Database password → Reset password: enter a new password, or choose Generate on server to get a new one shown on screen. Resetting disconnects all active sessions. API: POST /api/v1/projects/{slug}/reset-db-password with optional body {"new_password": "..."} (account access token).

Provisioning status

Shared projects are usually ready within moments. Dedicated projects start provisioning immediately; if the selected region has no free capacity, the project status is waiting_capacity (shown as Waiting for capacity) until capacity frees up. Some create requests fail with a capacity error instead of waiting; retry or pick another region.

Data API security

The create form has a Security section with three switches; you can change them later in Project Settings → API → Data API Settings (owner only). Through the API, send data_api_enabled, auto_expose_tables and auto_rls (all optional) in the create request.

SwitchWhat it doesNew projectsProjects created before the change
Enable Data APIREST API for your public schema, used by the client libraries. While it is off, /rest/v1/... (and /api/rest/...) on your project host return 403 DATA_API_DISABLED for every key, the service role key included. The dashboard, SQL editor, Auth, Storage, Realtime and MCP are not affected.OffOn
Automatically expose new tablesGives the API roles (anon, authenticated) access to every new table. WoWSQL recommends leaving this off and exposing tables one by one.OffOn
Enable automatic RLS (Recommended)Turns on Row Level Security for every new table in public. It runs as a trigger inside your database, so it also covers tables created over a direct connection.OnOff

The form warns you when the Data API and automatic exposure are on and automatic RLS is off: new tables would be open to anyone with your anon key until you add RLS. See Database → Data API access for exposing tables.

Usage limits and read-only mode

A Free project that goes over any of its limits (database size, file storage, monthly data transfer, or 10,000 monthly active users) becomes read-only. The project shows a Project is read-only banner with Re-check and Upgrade.

  • Still works: reads, DELETE, DROP and TRUNCATE, sign-in of existing users, REST and Storage GET/HEAD, and listing, signing or inspecting files
  • Refused: INSERT, UPDATE, CREATE, ALTER and COPY, REST POST/PUT/PATCH, uploads and new sign-ups
  • Refused requests return 403 with "code": "PROJECT_READ_ONLY"
  • Writes resume automatically once usage is back under the limits (delete data) or after you upgrade

The lock is enforced by the gateway, the SQL editor and /api/v1/db/execute (including MCP), the schema API and storage. It does not apply to direct Postgres connections.

Pro and Scale projects are never locked for going over the included amounts; extra usage, including monthly active users above the plan, is billed according to the spending mode. Current included amounts are in the plan catalog (GET /api/v1/pricing/plans) and on wowsql.com/pricing.

Spending mode (paid plans)

Choose how a paid project handles usage beyond the plan. Set it on the create form for a dedicated project, in Project Settings → Spending mode, or for all projects under Spending limits on your Profile page. Only the project owner can change it; it takes effect immediately.

  • Plan limits only (plan_limits) - never pay beyond the plan; when usage passes what the plan includes, the project turns read-only
  • Pay as you go (pay_as_you_go, default) - keep running past the included amounts; extra usage is billed with no limit
  • Custom limit (custom) - allow extra usage up to a monthly amount you choose (1 to 100,000 USD); when it is reached, the project turns read-only

API: create requests accept billing_cap_mode and billing_cap_limit_usd; PUT /api/v1/projects/{slug}/billing-cap takes {"mode": "custom", "limit_usd": 50}. Free projects always use plan limits (PUT returns 400).

Project Management

Project Roles

  • Owner - Full control, can delete project
  • Admin - Can manage settings and team members
  • Member - Can read and write data
  • Viewer - Read-only access

Team Collaboration

Invite team members to collaborate on projects:

  • Send invitations via email
  • Assign roles based on permissions needed
  • Track activity logs for all team members

API Endpoints

GET    /api/v1/projects              // List all projects
POST   /api/v1/projects              // Create new project (db_password optional; returned in the response)
GET    /api/v1/projects/{slug}       // Get project details
PATCH  /api/v1/projects/{slug}/settings  // Update project settings
DELETE /api/v1/projects/{slug}       // Delete project
GET    /api/v1/projects/{slug}/api-keys  // Get API keys
POST   /api/v1/projects/{slug}/regenerate-api-key  // Regenerate API key
GET    /api/v1/projects/{slug}/connection-string  // Get connection string
GET    /api/v1/projects/{slug}/security          // Data API switches
PUT    /api/v1/projects/{slug}/security          // Update Data API switches (owner only)
GET    /api/v1/projects/{slug}/usage-lock        // Read-only state and reasons
POST   /api/v1/projects/{slug}/usage-lock/refresh  // Re-check usage now
GET    /api/v1/projects/{slug}/billing-cap       // Spending mode and this month's extra usage
PUT    /api/v1/projects/{slug}/billing-cap       // Change spending mode (owner only, paid plans)

Team Management

GET    /api/v1/team/{project_slug}/members      // Get team members
POST   /api/v1/team/{project_slug}/invite       // Invite team member
GET    /api/v1/team/{project_slug}/invitations   // Get pending invitations

Authentication & Headers

All API requests require authentication and project context:

Base URL: https://api.wowsql.com

Required Headers:
  Authorization: Bearer your-api-key
  X-Project-Slug: your-project-slug  // Required for most endpoints
  Content-Type: application/json      // For POST/PUT/PATCH requests

Note: Some endpoints (like project-level auth) use subdomain routing:

Base URL: https://your-project-slug.wowsqlconnect.com
// No X-Project-Slug header needed for subdomain routes