Boat House

v1.0.0
com.boathousecloud/boathouse Checked 22 hours ago Published 2 months ago

Deploy and share small apps with team login, persistent data, versioned updates and domains.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

whoami

Who this project key belongs to: the email, the workspace, the domain its tools live on, and the prepaid balance. Call it first if you are not sure which workspace you are acting in.

ParameterTypeDescription
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

list_tools

Every tool in the workspace with its state (running/absent), current release, public URL and who can see it. A 'tool' is one small web app Boathouse runs behind the workspace login.

ParameterTypeDescription
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

get_tool

One tool in detail: URL, container state, current release, who it is visible to, and the list of people it has been shared with.

ParameterTypeDescription
tool *stringThe tool's short name, for example 'finance', or 'acme/finance' to select its workspace.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

deploy

Deploy a folder as a tool and make it live at https://<tool>.<workspace domain>. Send the whole folder in `files`, which MUST include a top-level Dockerfile whose process listens on $PORT (8080). Creates the tool on the first deploy; afterwards it replaces the running container. If you got these files from `pull`, pass the release number you pulled as `base` so a deploy someone else made in the meantime is not silently overwritten.

ParameterTypeDescription
files *objectThe folder: relative path -> the file's text content, e.g. {"Dockerfile": "FROM python:3.12-slim\n...", "app.py": "..."}. No leading slash and no '..' in paths.
tool *stringThe tool's short name, for example 'finance', or 'acme/finance' to select its workspace.
baseintegerThe release number these files were pulled from. The deploy is refused with STALE_BASE if a newer release is live.
base64objectOptional binary files: relative path -> base64 of the bytes.
namestringHuman name for the tool, used when it is created (e.g. 'CRCS Finance').
notestringWhy this release exists; shown in the release list.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

pull

Fetch the exact source folder a release was built from, so you can edit it and deploy it back. Returns the release number and the files as text (binary files come back base64 encoded). Tool admins only.

ParameterTypeDescription
tool *stringThe tool's short name, for example 'finance', or 'acme/finance' to select its workspace.
releaseintegerWhich release to fetch. Defaults to the live one.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

logs

The tool container's recent log lines, newest last. Use this to find out why a tool is failing.

ParameterTypeDescription
tool *stringThe tool's short name, for example 'finance', or 'acme/finance' to select its workspace.
sinceintegerUnix seconds: only lines after this moment.
tailintegerHow many lines from the end (default 200, max 5000).
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

releases

The last 20 releases of a tool: number, status (live/superseded/failed), when, who and the note. A failed release shows the last line of its build log.

ParameterTypeDescription
tool *stringThe tool's short name, for example 'finance', or 'acme/finance' to select its workspace.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

rollback

Put an earlier release back in service. With no `to`, goes back to the release before the live one. This rolls back the software, never the database.

ParameterTypeDescription
tool *stringThe tool's short name, for example 'finance', or 'acme/finance' to select its workspace.
tointegerRelease number to restore. Defaults to the previous one.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

restart

Restart the tool's container with its current release and current secrets.

ParameterTypeDescription
tool *stringThe tool's short name, for example 'finance', or 'acme/finance' to select its workspace.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

share

Give one person access to one tool by email, at a tier: viewer (read only; the gateway blocks their writes), editor (may change the data), admin (may change the software, secrets, sharing). If the person is new, Boat House emails a secure invitation when email is configured. Check emailed in the result; if delivery failed, share the invitation page so the person can request their secure email.

ParameterTypeDescription
email *stringThe person's email address.
tool *stringThe tool's short name, for example 'finance', or 'acme/finance' to select its workspace.
labelsarrayOptional app-specific words passed to the tool as headers (e.g. ['consultant']). Labels are not permissions.
tierstringviewer, editor or admin. Default viewer.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

unshare

Take away one person's access to one tool. They keep their workspace account.

ParameterTypeDescription
email *stringThe person's email address.
tool *stringThe tool's short name, for example 'finance', or 'acme/finance' to select its workspace.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

request_access

Ask to be let into a tool in someone else's workspace, at viewer, editor or admin. Its owners get an email with one Allow button; nobody there runs a command. The person is emailed when it is allowed.

ParameterTypeDescription
target *string<workspace>/<tool>, for example chloe/db.
messagestringOne line the owners see, e.g. who you are and why.
tierstringDefault viewer.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

access_requests

Everyone waiting to be let into one of this workspace's tools: request id, email, tier asked for, and their message. Owners and tool admins.

ParameterTypeDescription
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

allow_request

Let a waiting person in at the tier they asked for. Their tool grant is made and they get an email saying what to do next. Owners and tool admins.

ParameterTypeDescription
id *stringThe request id from access_requests.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

set_access

Set who a tool is open to by default: 'members' means anyone in the workspace (at the given tier), 'listed' means only the people it has been explicitly shared with. Use 'listed' for anything sensitive.

ParameterTypeDescription
mode *stringmembers (anyone in the workspace), listed (only people shared with), or public (anyone on the internet may read; writes still need sign-in).
tool *stringThe tool's short name, for example 'finance', or 'acme/finance' to select its workspace.
tierstringThe tier workspace members get when mode is 'members'.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

secrets_list

The names of a tool's secrets (API keys and the like), when each was last set and by whom. Values are never returned.

ParameterTypeDescription
tool *stringThe tool's short name, for example 'finance', or 'acme/finance' to select its workspace.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

secrets_set

Set one secret on a tool. It is injected as an environment variable of that name and the tool is restarted. Names are UPPER_SNAKE_CASE. Never echo the value back to the user.

ParameterTypeDescription
name *stringUPPER_SNAKE_CASE environment variable name, e.g. STRIPE_KEY.
tool *stringThe tool's short name, for example 'finance', or 'acme/finance' to select its workspace.
value *stringThe secret value.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

secrets_delete

Remove one secret from a tool. It disappears on the tool's next restart or deploy.

ParameterTypeDescription
name *stringThe secret's name.
tool *stringThe tool's short name, for example 'finance', or 'acme/finance' to select its workspace.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

users_list

Everyone in the workspace: role (owner, member or guest), name, and whether they have set a password yet.

ParameterTypeDescription
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

users_add

Add a person to the workspace, or change their role. owner = may spend money, buy domains and manage people, and is admin on every tool; member = may see tools open to members and deploy their own; guest = sees only what is explicitly shared with them. Returns a one-time invite link for someone new. Owners only.

ParameterTypeDescription
email *stringThe person's email address.
rolestringDefault member.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

users_invite

Resend an invitation to someone in the workspace. New accounts confirm their mailbox through the emailed link; established accounts receive a normal sign-in URL. Password recovery is self-service on that page, and only the account holder's mailbox receives a reset link. Check emailed before offering a fallback.

ParameterTypeDescription
email *stringThe person's email address.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

users_remove

Remove a person from the workspace. Their sessions, project keys, invites and tool grants stop working immediately. Owners only.

ParameterTypeDescription
email *stringThe person's email address.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

domains_list

The addresses this workspace answers on: the free <workspace>.boathousecloud.com address, the primary domain, and every custom domain with its DNS state.

ParameterTypeDescription
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

domain_check

Ask the registrar whether a domain is free and what it costs per year. Buys nothing. total_cents is the price the workspace pays (registrar_cents plus Boathouse's margin_cents); show that one.

ParameterTypeDescription
domain *stringA full domain name, e.g. 'crcstools.com'.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

domain_buy

Buy a domain through Boathouse's registrar and point it at this box, paid from the workspace's prepaid balance. Without confirm it only returns the quote (cost now, renewal price, your balance) and buys nothing. Owners only.

ParameterTypeDescription
domain *stringThe domain to buy, e.g. 'crcstools.com'.
confirmbooleanFalse or absent returns the quote and does nothing. True actually does it.
max_cost_centsintegerMaximum approved total, including Boathouse's margin. Required to confirm.
quote_idstringThe quote_id from the dry run. Required to confirm; reuse it on retries.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

domain_renewals

Read domain expiry dates, renewal status, spending limits and billing problems. Owners only.

ParameterTypeDescription
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

domain_renewal_set

Set automatic renewal and a maximum prepaid renewal charge. Quote the change first, then require explicit approval with confirm true. Turning renewal off lets the domain expire. Owners only.

ParameterTypeDescription
domain *stringA domain owned through this organization, including detached domains.
enabled *booleanTrue renews from prepaid credit; false lets the domain expire.
confirmbooleanFalse or absent returns the quote and does nothing. True actually does it.
max_cost_centsintegerApproved maximum per renewal including the service fee; required when enabling.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

domain_attach

Bring a domain the workspace already owns elsewhere: Boathouse starts answering on it and returns the DNS records to make at the current DNS host. Optionally point it at one tool at the same time. Owners only.

ParameterTypeDescription
domain *stringA full domain name you control, e.g. 'crcstools.com'.
toolstringOptional: the tool the bare domain and www should open.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

domain_point

Make a domain (and its www) open one tool instead of the workspace's tool list. An empty tool clears it. Owners only.

ParameterTypeDescription
domain *stringA domain the workspace answers on.
toolstringThe tool to open, or an empty string to show the tool list again.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

domain_primary

Make one of the workspace's domains the primary one: the address tool URLs and emails use. Owners only.

ParameterTypeDescription
domain *stringA domain the workspace answers on.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

domain_dns

The DNS records the registrar currently holds for a domain Boathouse bought or manages. Changes nothing.

ParameterTypeDescription
domain *stringA domain the workspace answers on.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

domain_repoint

Rewrite a Boathouse-managed domain's DNS records to point at this Boathouse again (after a move, or if someone changed them). Owners only.

ParameterTypeDescription
domain *stringA domain the workspace answers on.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

domain_detach

Stop serving a domain. The registration itself is untouched and domain_attach brings it back. Owners only.

ParameterTypeDescription
domain *stringA domain the workspace answers on.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

usage

Check storage, memory, CPU and the reason an app is paused. Tool admins only.

ParameterTypeDescription
tool *stringThe tool's short name, for example 'finance', or 'acme/finance' to select its workspace.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

capacity

Quote additional app storage. Show the maximum extra monthly price and get owner approval before confirming. No automatic upgrade. Owners only.

ParameterTypeDescription
tool *stringThe tool's short name, for example 'finance', or 'acme/finance' to select its workspace.
confirmbooleanFalse or absent returns the quote and does nothing. True actually does it.
max_extra_monthly_centsintegerMaximum extra monthly price from the approved quote, in cents.
quote_idstringThe exact capacity quote the owner approved.
storage_gbintegerRequested total storage in whole GB; starts with a price quote.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

billing

The workspace's money: prepaid balance, whether it is paused, how fast running tools burn credit, how many days are left, whether a card is on file, and the last ledger lines.

ParameterTypeDescription
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

prices

What Boathouse charges, in plain words: one organization plan for up to five lightweight tools, shared limits, storage, and the domain margin.

ParameterTypeDescription
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

referral

This person's referral code and link, the deal in words, and what each referred workspace has earned them so far (10% of usage charges, paid monthly in cash).

ParameterTypeDescription
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

topup

Open secure Stripe checkout to add prepaid hosting credit; the owner completes payment there. Without confirm it only quotes and returns operation_id. Confirm the same cents and operation_id after user approval; reuse the ID on retries. Between $5.00 (500) and $1,000.00 (100000). Owners only.

ParameterTypeDescription
cents *integerAmount in cents, e.g. 2000 for $20.00.
confirmbooleanFalse or absent returns the quote and does nothing. True actually does it.
operation_idstringThe payment quote ID, required when confirming or retrying.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.

delete_tool

Delete a tool: its container, its releases and its sharing. By default the tool's database and files are kept. purge true also destroys them forever, and then requires purge_confirm true as well.

ParameterTypeDescription
tool *stringThe tool's short name, for example 'finance', or 'acme/finance' to select its workspace.
purgebooleanAlso destroy the tool's database and uploaded files. Irreversible.
purge_confirmbooleanMust be true alongside purge, as a second confirmation.
workspacestringWorkspace slug to act in. Use this when you belong to several workspaces; whoami lists them.