Documentation
How to use PerkHost today. These pages cover only what works now; the first page lists what is not available yet.
App hosting is not available yet
Start here
Get started
Create an account and a workspace, secure the account and reach the API. App hosting is not available yet.
Read Get startedWhat is available today
What works now, and what is not available yet, so you know what these docs cover.
Read What is available today
Account
Accounts and sessions
Register, sign in, refresh and end sessions, reset a password and delete an account through the API.
Read Accounts and sessionsTwo-factor authentication
Turn on an authenticator app or email codes, keep recovery codes, and meet the enrolment deadline.
Read Two-factor authentication
Workspaces
Workspaces, roles and members
Create and rename workspaces, invite members, change roles, remove members, and what each role can do today.
Read Workspaces, roles and membersAPI tokens
Create a personal API token for one workspace with the scopes it needs, use it on the routes that accept it, and revoke it.
Read API tokensPlans and billing
The workspace plans, how to read your limits from the subscription, and the checkout and billing portal routes.
Read Plans and billing
Command line
The perkhost command
The perkhost command line: login, logout and deploy, the environment variables it reads and its exit codes.
Read The perkhost commandStacks and perkhost.json
How PerkHost picks a stack from your project files, which stacks are supported and what perkhost.json can set.
Read Stacks and perkhost.json
API
API overview
The base URL, authentication, error format and limits that apply to every PerkHost API route.
Read API overviewAPI reference: account and sign-in
Every route for registering, signing in, sessions, password reset, Google sign-in and two-factor authentication.
Read API reference: account and sign-inAPI reference: workspaces and billing
Every route for workspaces, members, invitations, API tokens, plans, billing, apps, the event stream and app environment variables.
Read API reference: workspaces and billingAPI reference: status pages
The public routes that read a status page, with its incidents and history, and the ones a status site uses to subscribe an address and manage the subscription.
Read API reference: status pages
For AI tools: llms.txt lists these pages, and llms-full.txt has all of them in one file.