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.
| Size | Family / plans | vCPU | RAM | Storage | Included egress / month |
|---|---|---|---|---|---|
| Pulse Nano | Pulse — Pro, Scale | 2 | 512 MB | 10 GB | 25 GB |
| Pulse Micro | Pulse — Pro, Scale | 2 | 1 GB | 20 GB | 50 GB |
| Pulse Small | Pulse — Pro, Scale | 2 | 2 GB | 40 GB | 100 GB |
| Pulse Medium | Pulse — Pro, Scale | 2 | 4 GB | 80 GB | 200 GB |
| Pulse Large | Pulse — Pro, Scale | 2 | 8 GB | 160 GB | 400 GB |
| Pulse XL | Pulse — Pro, Scale | 4 | 16 GB | 320 GB | 800 GB |
| Pulse 2XL | Pulse — Pro, Scale | 8 | 32 GB | 640 GB | 1600 GB |
| Forge Medium | Forge — Scale only | 1 | 4 GB | 80 GB | 250 GB |
| Forge Large | Forge — Scale only | 2 | 8 GB | 160 GB | 500 GB |
| Forge XL | Forge — Scale only | 4 | 16 GB | 320 GB | 1000 GB |
| Forge 2XL | Forge — Scale only | 8 | 32 GB | 640 GB | 2000 GB |
| Forge 4XL | Forge — Scale only | 16 | 64 GB | 1280 GB | 4000 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.
| Switch | What it does | New projects | Projects created before the change |
|---|---|---|---|
| Enable Data API | REST 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. | Off | On |
| Automatically expose new tables | Gives the API roles (anon, authenticated) access to every new table. WoWSQL recommends leaving this off and exposing tables one by one. | Off | On |
| 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. | On | Off |
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,DROPandTRUNCATE, sign-in of existing users, REST and StorageGET/HEAD, and listing, signing or inspecting files - Refused:
INSERT,UPDATE,CREATE,ALTERandCOPY, RESTPOST/PUT/PATCH, uploads and new sign-ups - Refused requests return
403with"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