A real-world example
Take Daftar, an online accounting product used by thousands of small businesses. Daftar wants to add an Ask your books assistant, so an owner can ask "Which supplier did we pay the most last quarter?" and get an answer from their own reports.
The hard requirement: a bakery must never see a tile shop's numbers. Daftar solves it by giving every customer business its own Mahvash project, with its own API key and its own document store. Daftar's backend maps each signed-in user to the right project before every call.
What Daftar gets
- Isolation enforced twice. Daftar checks the customer, and Mahvash refuses anything outside that customer's project.
- Per-customer usage that can be used for pricing plans or fair-use limits.
- Safe offboarding. Revoking a customer's key and deleting its project data removes that customer cleanly.
- Limits per customer, so one very active customer cannot slow down the others.