worldTable and field definitions
How Daptin works
Daptin loads table definitions and uses them to create routes, validate fields, check permissions, run actions, store files, and publish events.
Read the technical feature map →For each table, it connects to the database, creates API routes, validates fields and relationships, checks permissions, lists the table for clients, and connects actions and record events.
Daptin stores actions, scheduled tasks, file storage, integrations, LLM providers, usage plans, credentials, and mail servers in system tables. Administrators manage those rows through the API or dashboard.
worldTable and field definitions
actionInput fields and ordered action steps
taskCron schedules for actions
siteHost names, paths, and site storage
cloud_storeLocal and rclone file storage
integrationImported external API calls
llm_providerModel names, providers, and credentials
api_planPrices, rate limits, and quotas
credentialEncrypted OAuth and API credentials
mail_serverMail domains and delivery settings
Daptin identifies the user, checks permissions, validates fields, reads or changes the record, records usage when enabled, and publishes successful changes.
Resolve the session, user, and groups.
Check entity, object, relation, or action access.
Check field types, required values, validation rules, and input transformations.
Read or change records, calculate aggregates, or run action steps.
Enforce plan limits and record usage when configured.
Emit successful data changes to realtime consumers.
Run one binary with SQLite and local files for evaluation, prototyping, demos, or edge installations.
./daptin -port=6336Use PostgreSQL or MySQL, persistent file storage, stable secrets, HTTPS, backups, monitoring, and only the protocols you need.
app + database + storageInstances share the database and use Olric for cache entries, PubSub messages, usage counters, and rate limits.
instances + olric + databaseUse SQLite, MySQL, MariaDB, or PostgreSQL.
Records, relationships, actions, topics, and integrations use the same user and group permissions.
Table metadata and OpenAPI list the available tables, fields, routes, and actions.
GraphQL, YJS, mail, FTP, and WebDAV-style routes start when enabled.
Actions and schedules run in Daptin, where they can access stored credentials and metering records.
Daptin stops accepting requests, waits for active work, then closes its services and database.