MultiPaaS

Applications and app-tenants

An application is the app you build on MultiPaaS. An app-tenant is one separate set of that application's data. One application can have many app-tenants.

Applications

An application has a name. It holds one model, and that model produces its API.

Entity names are kept per application. Two applications can each declare an entity with the same name, and their models do not collide.

You create an application with the CLI. You need permission to create applications to do so.

Roles on a new application

A new application starts with two roles. A role is a named set of permissions.

Every answer the web app's assistant gives uses AI units from the account's plan, counted from the AI work each answer takes. The assistant checks the account's daily and monthly AI units before each step of an answer. Once either is used up, it stops before its next step and shows a message such as "This account reached its daily AI limit. It resets at 2026-11-28 00:00 UTC." The daily limit resets at 00:00 UTC each day, and the monthly limit at 00:00 UTC on the first of the month. A step already under way always finishes, so an account can go over a limit by one step for each answer in progress at that moment. The account's Usage page shows how many it has used.

A role granted to a person at the application level holds either in every environment or in one environment. A role granted in every environment that carries environment.manage, such as App manager, also lets you manage environments; see who can manage environments. A person who creates an environment gets App manager in that one environment; a deployer does not. A grant in every environment still reads each environment's own records only while you act in that environment.

The CLI acts with the permissions you hold. If you lack one, MultiPaaS refuses the command.

App-tenants

An app-tenant holds records. The records in one app-tenant are separate from the records in another. Someone signed in to one app-tenant never sees another app-tenant's own records.

Think of a team workspace in a chat app. Each workspace has its own messages. The chat app is one application. Each workspace is an app-tenant.

A new application has no app-tenant yet. Create one to test in. Creating an app-tenant needs permission to manage the application's access. Each app-tenant belongs to one environment.

You can delete an app-tenant you no longer need, with multipaas tenants delete. It stops working at once: its members lose access, and every access token for it, a person's or an app identity's, stops working. Its records, files, members, invitations and roles are destroyed starting 30 days after you delete it, and can't be recovered after that. Until then it is marked for deletion: it doesn't work, and nothing can bring it back. With --json the command prints {"deleted": true, "id": "TENANT_ID", "destroysAt": "…"}; destroysAt is when the 30 days end, and the destroy usually starts within about an hour after it, later if it is held up. multipaas tenants list leaves a deleted app-tenant out unless you add --include-deleted. Deleting an app-tenant needs the same permission as creating one. tenants retire and --include-retired are the old names; they still work and print a deprecation notice. tenants delete needs CLI 1.8.0 or later.

Deleting an application, in the console, works the same way for everything in it: its app-tenants stop working at once, and its environments, app-tenants, model, records, files, app identities, deployers and sign-in clients are destroyed starting 30 days later. They can't be recovered after that.

When an account is deleted, every application in it stops working at once. Starting 30 days after the account is deleted, each of its applications is destroyed as described above, along with the account's roles and groups. Once its applications are gone, the account itself is destroyed: its encryption key stops working then, and is gone within 7 days.

App-wide records

Some records belong to the application as a whole, not to one app-tenant. An app-tenant can read them beside its own records.

A language-learning app shows the idea. Its word list is app-wide, and each learner's own words live in their own app-tenant. A learner sees the shared words next to their own, and never another learner's.

App-wide records belong to one environment. A background job can write app-wide records. See app identities and sign-in.

A list that can return only app-wide records is refused with UNAUTHORIZED when the caller's roles don't let them view that entity's app-wide records. That covers a list that asks for app-wide records only (scope: APP_WIDE in your app's API, --app-wide in the CLI) and any list made with an app-wide token, including a list of related records. So an empty app-wide list means there are no such records, not that you can't see them.

Who is signed in to what

When a user signs in to your app, they pick the app-tenant they are signing in to. The access token they receive works for that app-tenant. See app identities and sign-in.