Skip to content
YasadDocs
Sign inGet started
Developer docs2 min read

Overview

How workspaces, apps, keys and records fit together.

On this page

Yasad is the backend for business apps: bookings, orders, customers, payments, files, emails and events, scoped to one business's workspace. Apps and AI assistants call it over a server-side HTTPS API, MCP, or the TypeScript SDK.

#Concepts

  • Workspace: one business. Every record and setting belongs to exactly one workspace.
  • Caller: an app or AI assistant registered in the workspace, such as Pickup website or Claude Code.
  • Key: a caller's bearer key with one role. App keys are created on the app's page in Yasad; assistant keys are approved through Connect your AI. Turning a key off takes effect on the next request.
  • Native records: customers, resources, reservations, orders and payments, with built-in rules for capacity and pricing.
  • Collections: typed, workspace-defined record types for everything else (recipes, equipment, settings).

#Rule 1: Yasad is the app's database

Store every business record and piece of app state in the workspace. Use native records where they fit and collections for the rest. Don't add another database or use data files as storage. Redis is optional and only for caching and temporary coordination (read caches, rate limits, locks, short-lived sessions): write to Yasad first, give every key an expiry, and keep the app working if Redis is emptied. Never keep the only copy of a business record in Redis. If a key can't write, ask the owner to approve an operator key; missing permission is never a reason to store data elsewhere.

#Ways to connect

InterfaceUse it for
REST over HTTPSAny server-side language. Contract at https://api.staging.yasad.app/openapi.json
TypeScript SDKNode 24 servers. SDK guide
MCP (stdio or HTTP)AI assistants. Connect an AI agent
Type to search