Edictum

Database Model

Current high-level data model for edictum-api.

AI Assistance

Right page if: you want the current high-level persisted entities in edictum-api. Wrong page if: you want the retired tenant/bundle schema map from the old server stack. Gotcha: the current backend is workspace-based and the old console schema map is not authoritative.

This page is intentionally high level. The current backend is edictum-api, and the authoritative schema lives in that repo’s current migrations.

Current Top-Level Entities

EntityPurpose
WorkspacesScope human and agent data
API keysWorkspace-scoped agent credentials
RulesetsVersioned policy/ruleset documents
Decision eventsRuntime decisions emitted by agents
Workflow snapshotsLatest workflow/run state per agent session
ApprovalsPending and resolved human decisions
AgentsRegistered agent identities and activity summaries
Audit eventsOperator-facing audit timeline
Notification channelsTelegram, Slack, Discord, and webhook config

What Changed

The retired docs described bundle/composition tables and older tenant-local auth tables from the old server stack. That is not the current public schema map.

If you need exact current fields or query behavior, use:

Last updated on

On this page