Platform Reference

System Tables Reference

Every system-managed table in FlowOS — field names, types, and descriptions. All tables are queryable via the Records API and SQL endpoint.

FlowOS maintains a set of system tables that back every module. System table slugs are reserved — you cannot create a user table with the same slug. All system tables are accessible via /api/v1/tables/:slug/records subject to the caller's role permissions.

Fields prefixed with _ are system-managed and cannot be set on create or update. Fields marked computed are derived at read time and are not stored on disk — they cannot be used in filter conditions unless a stored generated column backs them.

ITSM Tables

Incidentsincidents

Every service disruption record. Central table for incident management.

FieldTypeDescription
idvarchar(26)ULID primary key. Prefixed inc_.
numbervarchar(20)Auto-incremented human number (INC-NNNN). Unique per workspace.
titletextShort description. Max 255 chars.
descriptiontextFull description. Markdown.
severityenumP1 | P2 | P3 | P4
urgencyenumlow | medium | high
priorityvarchar(20)computed from severity × urgency.
statusenumopen | investigating | identified | monitoring | resolved | closed
categoryvarchar(100)hardware | software | network | security | access | other
subcategoryvarchar(100)Workspace-configurable subcategory.
sourcevarchar(50)portal | email | monitoring | api | workflow | phone
reported_byvarchar(26)FK → users.id
assigned_teamvarchar(100)Team slug.
assigned_tovarchar(26)FK → users.id
impacted_servicestext[]Array of service name strings.
cmdb_itemsvarchar(26)[]Array of FK → cmdb_items.id
related_problemsvarchar(26)[]Array of FK → problems.id
related_changesvarchar(26)[]Array of FK → changes.id
duplicate_ofvarchar(26)FK → incidents.id. Set if this is a duplicate.
tagstext[]Free-form labels.
environmentenumdevelopment | staging | production
root_causetextRoot cause analysis.
resolutiontextResolution steps taken.
workaroundtextTemporary workaround.
visibilityenuminternal | public
slajsonbComputed SLA state object.
first_response_attimestamptzWhen first public comment added by assigned team. Auto-set.
resolved_attimestamptzWhen status became resolved. Auto-set.
closed_attimestamptzWhen status became closed. Auto-set.
reopen_countintegerNumber of times reopened. Auto-incremented.
custom_fieldsjsonbWorkspace-defined custom field values.
created_attimestamptzRecord creation time. Auto-set.
updated_attimestamptzLast modification time. Auto-set.
created_byvarchar(26)FK → users.id. Auto-set.
workspace_idvarchar(26)FK → workspaces.id. Auto-set.
Changeschanges

Change requests with CAB workflow, approval tracking, and implementation windows.

FieldTypeDescription
idvarchar(26)ULID primary key. Prefixed chg_.
numbervarchar(20)Auto-incremented (CHG-NNNN).
titletextShort summary.
descriptiontextDetailed description.
typeenumstandard | normal | emergency
categoryvarchar(100)hardware | software | network | database | security | process | other
riskenumlow | medium | high | critical
impactenumlow | medium | high | critical
statusenumdraft | review | approved | rejected | scheduled | implementing | completed | rolled_back | cancelled
implementation_plantextStep-by-step plan.
rollback_plantextRollback steps.
test_plantextPost-implementation validation steps.
business_justificationtextBusiness reason for the change.
scheduled_starttimestamptzPlanned implementation start.
scheduled_endtimestamptzPlanned implementation end.
actual_starttimestamptzWhen implementation actually began.
actual_endtimestamptzWhen implementation finished.
assigned_teamvarchar(100)Implementing team slug.
assigned_tovarchar(26)FK → users.id
requested_byvarchar(26)FK → users.id
cab_reviewersvarchar(26)[]Array of FK → users.id. All must approve.
approvalsjsonbArray of approval records [{userId,status,comment,ts}].
cmdb_itemsvarchar(26)[]CIs being changed.
related_incidentsvarchar(26)[]Incidents this change addresses.
related_problemsvarchar(26)[]Problems this change resolves.
tagstext[]Labels.
custom_fieldsjsonbCustom field values.
created_attimestamptzAuto-set.
updated_attimestamptzAuto-set.
created_byvarchar(26)FK → users.id
Problemsproblems

Root cause investigations and known errors.

FieldTypeDescription
idvarchar(26)ULID PK, prefixed prb_.
numbervarchar(20)PRB-NNNN.
titletextShort description.
descriptiontextFull description.
statusenumopen | under_investigation | root_cause_identified | known_error | resolved | closed
categoryvarchar(100)Same options as incidents.
impactenumlow | medium | high | critical
priorityenumlow | medium | high | critical. Set manually.
assigned_teamvarchar(100)Team leading investigation.
assigned_tovarchar(26)FK → users.id
related_incidentsvarchar(26)[]Linked incidents.
related_changesvarchar(26)[]Linked changes (fix).
cmdb_itemsvarchar(26)[]Implicated CIs.
root_causetextDocumented root cause.
workaroundtextTemporary workaround.
workaround_effectivebooleanWhether workaround reliably prevents symptom.
permanent_fixtextPermanent resolution description.
is_known_errorbooleanComputed: true when status = known_error.
tagstext[]Labels.
resolved_attimestamptzAuto-set on resolution.
created_attimestamptzAuto-set.
updated_attimestamptzAuto-set.
Catalog Itemscatalog_items

Service catalog item definitions — what employees can request.

FieldTypeDescription
idvarchar(26)ULID PK, prefixed cat_.
nametextDisplay name.
slugvarchar(100)URL-safe identifier. Unique.
descriptiontextFull description. Markdown.
short_descriptionvarchar(500)One-line summary.
categoryvarchar(100)Catalog category path.
iconvarchar(100)Lucide icon slug or image URL.
statusenumdraft | active | retired
visibilityenumall_users | groups_only | hidden
allowed_groupstext[]Group IDs for groups_only visibility.
fulfillment_typeenumworkflow | manual | automated
fulfillment_workflowvarchar(26)FK → workflows.id
approval_requiredbooleanWhether approval gate is needed.
approversjsonbApprover config object.
approval_timeout_hoursintegerAuto-reject after N business hours.
sla_hoursintegerTarget fulfillment hours.
form_fieldsjsonbForm field definitions array.
costdecimal(12,2)Display cost.
cost_currencychar(3)ISO 4217 currency.
tagstext[]Search tags.
orderintegerDisplay order within category.
created_attimestamptzAuto-set.
updated_attimestamptzAuto-set.
Catalog Requestscatalog_requests

Submitted service requests with their field responses and fulfillment status.

FieldTypeDescription
idvarchar(26)ULID PK, prefixed creq_.
numbervarchar(20)REQ-NNNN.
catalog_item_idvarchar(26)FK → catalog_items.id
requested_byvarchar(26)FK → users.id
requested_forvarchar(26)FK → users.id. Beneficiary.
statusenumsubmitted | pending_approval | approved | rejected | fulfilling | fulfilled | cancelled
fieldsjsonbKey-value map of form responses.
approval_statusenumnot_required | pending | approved | rejected
approversjsonbApproval records array.
workflow_run_idvarchar(26)FK → workflow_runs.id. Set when fulfillment starts.
fulfillment_notestextNotes from the fulfiller.
fulfilled_attimestamptzAuto-set when status → fulfilled.
slajsonbSLA tracking object.
created_attimestamptzSubmission time.
updated_attimestamptzAuto-set.
CMDB Itemscmdb_items

Configuration items — every tracked component of IT infrastructure.

FieldTypeDescription
idvarchar(26)ULID PK, prefixed ci_.
numbervarchar(20)CI-NNNN.
nametextDisplay name.
classvarchar(100)CI class slug (server, database, application, etc.).
statusenumactive | maintenance | decommissioned | retired
environmentenumdevelopment | staging | production
descriptiontextFree-text description.
owner_teamvarchar(100)Owning team slug.
owner_user_idvarchar(26)FK → users.id
tagstext[]Labels.
external_idtextID in external system.
attributesjsonbClass-specific attributes (hostname, ipAddresses, engine, etc.).
created_attimestamptzAuto-set.
updated_attimestamptzAuto-set.
CMDB Relationshipscmdb_relationships

Directed edges in the CI topology graph.

FieldTypeDescription
idvarchar(26)ULID PK.
source_idvarchar(26)FK → cmdb_items.id. The "from" CI.
target_idvarchar(26)FK → cmdb_items.id. The "to" CI.
typevarchar(100)depends_on | runs_on | hosted_by | connects_to | part_of | owned_by | uses | backs_up_to | fails_over_to | monitors
labeltextOptional human label for this specific relationship.
created_attimestamptzAuto-set.
created_byvarchar(26)FK → users.id
Knowledge Articlesknowledge_articles

Knowledge base articles with versioning and portal visibility control.

FieldTypeDescription
idvarchar(26)ULID PK, prefixed kb_.
numbervarchar(20)KB-NNNN.
titletextArticle title.
contenttextMarkdown body.
summaryvarchar(500)Auto-generated excerpt or manual override.
statusenumdraft | review | published | archived
categorytextPath category, e.g. "Networking/VPN".
article_typeenumhow_to | troubleshooting | faq | reference | known_error | policy | release_note
author_idvarchar(26)FK → users.id
reviewersvarchar(26)[]FK → users.id[]
visibilityenuminternal | portal | public
allowed_groupstext[]Group IDs for restricted portal visibility.
related_incidentsvarchar(26)[]FK → incidents.id[]
related_problemsvarchar(26)[]FK → problems.id[]
cmdb_itemsvarchar(26)[]FK → cmdb_items.id[]
tagstext[]Search tags.
versionintegerCurrent version number. Starts at 1.
viewsintegerCumulative view count.
helpfulinteger"Was this helpful? Yes" count.
not_helpfulinteger"Was this helpful? No" count.
published_attimestamptzFirst publish time.
expires_attimestamptzAuto-archive after this time.
localevarchar(10)BCP 47 language tag. Default: en.
created_attimestamptzAuto-set.
updated_attimestamptzAuto-set.
Releasesreleases

Release records bundling one or more change requests into a scheduled deployment unit.

FieldTypeDescription
namestringRelease name. Required.
displayNamestringAlternate display label.
codestringShort release code (e.g. R-2026-Q2).
numberstringAuto-incremented release number.
shortDescriptionstringOne-line summary.
descriptionstringFull description. Markdown.
statusenumnew | in_progress | pending | on_hold | resolved | closed | cancelled
priorityenumcritical | high | medium | low | planning
severityenumcritical | high | medium | low | planning
impactenumhigh | medium | low
urgencyenumhigh | medium | low
categorystringCategory label.
subcategorystringSubcategory label.
openedAttimestamptzWhen the release was opened.
dueAttimestamptzTarget release date.
resolvedAttimestamptzWhen marked resolved.
closedAttimestamptzWhen closed.
workNotestextInternal work notes.
closeNotestextClosure notes.
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
linkedChangeIdsreference[]FK[] → change_requests. Changes bundled into this release.
releaseManagerIdreferenceFK → users. Release manager.
deployedByreferenceFK → users. Who deployed.
ownedByreferenceFK → users. Business owner.
assignedToreferenceFK → users. Assignee.
tenantIdstringTenant ID. Auto-set, readonly.
workspaceIdstringWorkspace ID. Auto-set, readonly.
createdByreferenceFK → users. Auto-set.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Service Offeringsservice_offerings

Live service definitions — what the IT organisation actively delivers. Referenced by SLA targets and catalog items.

FieldTypeDescription
namestringService name. Required.
displayNamestringAlternate display label.
codestringService code.
shortDescriptionstringOne-line description.
descriptionstringFull description. Markdown.
statusenumdraft | active | inactive | retired
versionstringSemantic version of this offering.
effectiveFromtimestamptzDate this offering version became active.
effectiveTotimestamptzDate this offering version expires.
conditionsjsonbEligibility condition rules.
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
portfolioIdreferenceFK → service_portfolios.
serviceSpecIdreferenceFK → service_specs. Specification this offering implements.
serviceBlueprintIdreferenceFK → service_blueprints. Blueprint this offering is based on.
ownedByreferenceFK → users. Business owner.
assignedToreferenceFK → users. Technical owner.
tenantIdstringTenant ID. Auto-set, readonly.
workspaceIdstringWorkspace ID. Auto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.

Workflow Tables

Workflowsworkflows

Workflow definitions — triggers, nodes, edges, and metadata.

FieldTypeDescription
idvarchar(26)ULID PK, prefixed wf_.
nametextDisplay name.
descriptiontextInternal description.
statusenumdraft | active | inactive | archived
triggerjsonbTrigger definition object.
nodesjsonbArray of node definition objects.
edgesjsonbArray of edge definition objects.
active_versionintegerCurrently running version number.
draft_versionintegerUnpublished draft version.
run_countbigintTotal lifetime execution count.
error_countbigintTotal lifetime failed run count.
last_run_attimestamptzWhen the most recent run started.
last_error_attimestamptzWhen the most recent failure occurred.
tagstext[]Labels for filtering.
created_attimestamptzAuto-set.
updated_attimestamptzAuto-set.
created_byvarchar(26)FK → users.id
Workflow Runsworkflow_runs

Individual execution records — status, input/output, and node-level trace.

FieldTypeDescription
idvarchar(26)ULID PK, prefixed run_.
workflow_idvarchar(26)FK → workflows.id
versionintegerWhich workflow version was executed.
statusenumqueued | running | completed | failed | cancelled | paused
trigger_typevarchar(50)schedule | webhook | record_event | itsm_event | manual | sub_workflow
trigger_payloadjsonbRaw trigger payload.
inputjsonbResolved input object.
outputjsonbFinal run output (last node output or explicit return).
errorjsonb{ code, message, nodeId } if failed.
tracejsonbArray of node execution records with timing and I/O.
variablesjsonbFinal state of all vars.* variables.
attemptintegerRetry attempt number (1 = first).
duration_msintegerTotal execution time in ms.
queued_attimestamptzWhen run was enqueued.
started_attimestamptzWhen execution actually began.
completed_attimestamptzWhen execution finished (any terminal state).
triggered_byvarchar(26)User or token that triggered (manual runs). Null for automated.
parent_run_idvarchar(26)FK → workflow_runs.id for sub-workflow runs.

Platform Tables

Rolesroles

RBAC role definitions. Roles own a permission set and are assigned to users per workspace.

FieldTypeDescription
keystringStable role identifier (e.g. admin, agent). Required, unique.
namestringDisplay name. Required.
displayNamestringAlternate display label.
descriptionstringRole description.
permissionslistArray of permission scope strings.
isSystembooleanSystem roles are locked — their key and core permissions cannot be changed.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Role Assignmentsrole_assignments

Junction table mapping users to roles within a workspace.

FieldTypeDescription
roleIdreferenceFK → roles. Required.
userIdreferenceFK → users. Required.
assignedBystringUser ID of the admin who made this assignment.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Groupsgroups

User groups used for assignment routing, notification targeting, and access control.

FieldTypeDescription
namestringGroup name. Required.
descriptionstringGroup description.
roleIdsreference[]FK[] → roles. Roles inherited by all group members.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Group Membersgroup_members

Junction table linking users (or child groups) to groups.

FieldTypeDescription
groupIdreferenceFK → groups. Required.
refIdstringUser ID or child group ID. Required.
refTypeenumuser | group — what refId points to.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Departmentsdepartments

Organisational department hierarchy. Supports nested departments via parentId.

FieldTypeDescription
namestringDepartment name. Required.
codestringShort code (e.g. ENG, OPS).
parentIdreferenceFK → departments. Parent department for nesting.
managerIdreferenceFK → users. Department head.
headcountintegerNumber of people in this department.
costCenterstringFinance cost center code.
descriptionstringDescription.
isActivebooleanWhether this department is active.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Usersusers

Platform user accounts. One record per person across all workspaces they belong to.

FieldTypeDescription
idvarchar(26)ULID PK, prefixed usr_.
emailvarchar(320)Email address. Unique across the instance.
nametextDisplay name.
first_namevarchar(100)First name.
last_namevarchar(100)Last name.
avatar_urltextProfile picture URL.
statusenumactive | invited | deactivated | suspended
phonevarchar(30)Phone number (E.164).
timezonevarchar(50)IANA timezone.
localevarchar(10)BCP 47 language preference.
mfa_enabledbooleanWhether MFA is configured.
mfa_methodstext[]Active MFA methods: totp, webauthn.
last_login_attimestamptzMost recent successful login.
last_login_ipinetIP of most recent login.
invited_attimestamptzWhen invitation was sent.
invited_byvarchar(26)FK → users.id. Who sent the invite.
sso_providervarchar(50)SSO provider slug if user uses SSO.
sso_subjecttextSSO provider subject/ID for this user.
created_attimestamptzAccount creation time.
updated_attimestamptzAuto-set.
Workspace Membersworkspace_members

Junction table linking users to workspaces with their role assignments.

FieldTypeDescription
idvarchar(26)ULID PK.
workspace_idvarchar(26)FK → workspaces.id
user_idvarchar(26)FK → users.id
rolestext[]Array of role slugs assigned to this user in this workspace.
teamstext[]Array of team slugs the user belongs to.
joined_attimestamptzWhen user joined this workspace.
invited_byvarchar(26)FK → users.id
is_ownerbooleanWhether this user is a workspace owner.
Audit Eventsaudit_events

Immutable log of every platform action. Cannot be updated or deleted.

FieldTypeDescription
idvarchar(26)ULID PK, prefixed aud_.
actionvarchar(100)Event action: created | updated | deleted | resolved | escalated | approved | ...
entity_typevarchar(100)Resource type: incident | change | workflow | user | ...
entity_idvarchar(26)ID of the affected resource.
entity_numbervarchar(20)Human-readable number (INC-1042) if applicable.
entity_titletextTitle/name of the entity at event time.
actor_idvarchar(26)User or token that caused the action.
actor_typeenumuser | api_token | workflow | system
actor_nametextDisplay name of the actor.
actor_ipinetIP address of the request.
beforejsonbField values before the change. Null for creates.
afterjsonbField values after the change. Null for deletes.
changesjsonbArray of {field, from, to} for updates.
metadatajsonbAdditional context (request ID, user agent, etc.).
workspace_idvarchar(26)FK → workspaces.id
environmentenumdevelopment | staging | production
created_attimestamptzEvent timestamp. Indexed.
Webhookswebhooks

Outbound webhook subscriptions — URL, events, and delivery config.

FieldTypeDescription
idvarchar(26)ULID PK, prefixed wh_.
nametextDisplay name.
urltextTarget URL.
eventstext[]Event types to subscribe to.
secrettextHMAC secret. Stored encrypted. Returned masked.
headersjsonbAdditional request headers.
filterjsonbPayload filter conditions.
statusenumactive | paused | failed (auto-paused after too many failures).
retriesintegerRetry attempts on failure.
retry_strategyenumfixed | exponential
timeout_msintegerRequest timeout.
delivery_countbigintTotal delivery attempts.
failure_countbigintTotal failed deliveries.
last_delivery_attimestamptzMost recent delivery attempt.
created_attimestamptzAuto-set.
created_byvarchar(26)FK → users.id

SLA & On-Call Tables

SLA Policiessla_policies

Top-level SLA policy definitions with response and resolution time targets per module.

FieldTypeDescription
namestringPolicy name. Required.
moduleenumitsm | hr | csm — which module this policy applies to.
responseTimeHoursnumberTarget first-response time in business hours. Required.
resolutionTimeHoursnumberTarget resolution time in business hours. Required.
isActivebooleanWhether this policy is currently enforced.
businessHoursCalendarIdreferenceFK → sla_business_hours_calendars. Calendar used for hour calculations.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
SLA Business Hours Calendarssla_business_hours_calendars

Business hours calendars defining when the clock runs for SLA calculations. Each day has a start/end window; days with no window are non-working.

FieldTypeDescription
namestringCalendar name. Required.
timezonestringIANA timezone (e.g. America/New_York). Required.
mondayStartstringWork start time on Monday (HH:MM, 24h). Null = non-working.
mondayEndstringWork end time on Monday.
tuesdayStartstringWork start on Tuesday.
tuesdayEndstringWork end on Tuesday.
wednesdayStartstringWork start on Wednesday.
wednesdayEndstringWork end on Wednesday.
thursdayStartstringWork start on Thursday.
thursdayEndstringWork end on Thursday.
fridayStartstringWork start on Friday.
fridayEndstringWork end on Friday.
saturdayStartstringWork start on Saturday. Null for most calendars.
saturdayEndstringWork end on Saturday.
sundayStartstringWork start on Sunday.
sundayEndstringWork end on Sunday.
holidayScheduleIdreferenceFK → itsm_change_calendar. Holiday exceptions that pause the clock.
isDefaultbooleanWhether this is the workspace default calendar.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
SLA Targetssla_targets

Specific measurable SLA targets tied to an SLA definition — e.g. P1 response ≤ 15 min.

FieldTypeDescription
namestringTarget name. Required.
displayNamestringDisplay label.
codestringShort code.
shortDescriptionstringOne-line description.
descriptionstringFull description.
statusenumdraft | active | inactive | retired
versionstringSemantic version.
effectiveFromtimestamptzWhen this target became effective.
effectiveTotimestamptzWhen this target expires.
conditionsjsonbCondition rules that select which records this target applies to.
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
slaDefinitionIdreferenceFK → sla_definitions. Parent SLA definition.
ownedByreferenceFK → users.
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
On-Call Scheduleson_call_schedules

On-call rotation schedule definitions. Linked to a group; rotations and members are child records.

FieldTypeDescription
namestringSchedule name. Required.
displayNamestringDisplay label.
codestringShort code.
shortDescriptionstringOne-line description.
descriptionstringFull description.
statusenumdraft | active | inactive | retired
versionstringSemantic version.
effectiveFromtimestamptzSchedule start date.
effectiveTotimestamptzSchedule end date.
conditionsjsonbCondition rules for when this schedule activates.
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
groupIdreferenceFK → groups. The team this schedule is for.
ownedByreferenceFK → users.
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Escalation Policiesescalation_policies

Escalation policy definitions — ordered tiers of who to notify if a ticket remains unacknowledged.

FieldTypeDescription
namestringPolicy name. Required.
displayNamestringDisplay label.
codestringShort code.
shortDescriptionstringOne-line description.
descriptionstringFull description.
statusenumdraft | active | inactive | retired
versionstringSemantic version.
effectiveFromtimestamptzWhen this policy became effective.
effectiveTotimestamptzWhen this policy expires.
conditionsjsonbCondition rules for when this policy applies.
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
groupIdreferenceFK → groups. Default assignment group.
ownedByreferenceFK → users. Policy owner.
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.

App Studio Tables

Appsapps

App Studio application definitions — each app is a deployable frontend with pages, theme, and SDK config.

FieldTypeDescription
namestringApp name. Required.
slugstringURL-safe identifier. Unique per workspace. Required.
pagesjsonbPage tree definition (visual builder layout).
themejsonbTheme configuration (colors, typography, spacing).
frameworkenumreact | html
cssFrameworkenumtailwind | none
componentLibraryenumshadcn | none
githubRepojsonbGitHub repo connection config (owner, repo, branch).
flowSdkConfigjsonbFlow SDK integration config.
deploymentConfigjsonbDeployment configuration (host, env vars, build command).
deploymentEnvironmentsjsonbPer-environment deployment state objects.
governancePolicyjsonbAccess governance policy.
collaboratorsjsonbArray of collaborator user IDs and their permissions.
aiGenerationEnabledbooleanWhether AI code-generation is enabled for this app.
publishedAttimestamptzWhen the app was last published.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
App Versionsapp_versions

Published version snapshots of an app. Each publish creates a new version; rollback restores a prior snapshot.

FieldTypeDescription
appIdreferenceFK → apps. Required.
snapshotjsonbFull app state at publish time (pages, theme, config). Required.
versionNumberintegerAuto-incrementing version counter.
labelstringHuman label (e.g. "v1.2 — dark mode launch").
changeLogstringWhat changed in this version.
snapshotSizeintegerCompressed snapshot size in bytes.
createdBystringUser ID of publisher.
createdAttimestamptzAuto-set.

Authentication Tables

API Keysapi_keys

API key credentials for programmatic access. The raw key is shown once at creation — only a hash is stored.

FieldTypeDescription
namestringKey name. Required.
prefixstringShort prefix shown in the UI (e.g. flw_prod_). Required.
hashedKeystringBcrypt hash of the key. Readonly — never returned in API responses.
scopeslistPermission scope strings (e.g. records:read, workflows:execute).
isActivebooleanWhether this key can authenticate.
expiresAttimestamptzExpiry date. Null = never expires.
lastUsedAttimestamptzWhen this key last authenticated successfully.
rotationPolicyIdstringFK → api_key_rotation_policies. Applied rotation policy.
rotationAppliedAttimestamptzWhen the rotation policy was last applied.
createdBystringUser ID who created this key.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
API Key Rotation Policiesapi_key_rotation_policies

Policies governing mandatory key rotation intervals and warnings.

FieldTypeDescription
namestringPolicy name. Required.
maxAgeDaysintegerKeys older than this are forced to rotate. Required.
warningDaysBeforeExpiryintegerDays before expiry to start sending warning notifications. Required.
autoRotatebooleanAutomatically rotate (invalidate + issue new key) when maxAgeDays is reached.
isActivebooleanWhether this policy is enforced.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Auth Sessionsauth_sessions

Active user browser/API sessions. Records are deleted on logout or expiry.

FieldTypeDescription
userIdreferenceFK → users. Required.
tokenHashstringHash of the session token. Readonly.
jtistringJWT ID — unique token identifier used for revocation.
expiresAttimestamptzSession expiry.
revokedAttimestamptzIf set, this session was explicitly revoked before expiry.
userAgentstringBrowser or client user-agent string.
ipAddressstringIP address of the client.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.

Miscellaneous Tables

Attachmentsattachments

File attachment records. The actual file is stored in object storage; this table holds the metadata and pointer.

FieldTypeDescription
taskIdreferenceFK → tasks. Parent task this file is attached to. Required.
fileNamestringOriginal file name. Required.
fileSizeintegerFile size in bytes. Required.
mimeTypestringMIME type (e.g. application/pdf). Required.
storageKeystringObject storage key used to retrieve the file. Required.
uploadedByreferenceFK → users.
sysDomainreferenceFK → domains. Domain scope for this attachment.
createdAttimestamptzAuto-set.
Cron Jobscron_jobs

Scheduled cron job definitions. Executions are recorded in cron_runs.

FieldTypeDescription
namestringJob name. Required.
displayNamestringDisplay label.
codestringShort code identifier.
shortDescriptionstringOne-line description.
descriptionstringFull description.
statusenumdraft | active | inactive | retired
tagslistTag array for filtering.
metadatajsonbFreeform metadata.
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
ownedByreferenceFK → users.
assignedToreferenceFK → users.
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdByreferenceFK → users. Auto-set.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.

Organisation Hierarchy

Companiescompanies

Company records — internal business entities or external organisations.

FieldTypeDescription
namestringCompany name. Required.
codestringShort code.
websitestringURL.
phonestringPhone number.
addressstringPostal address.
descriptionstringDescription.
isActivebooleanActive flag.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Business Unitsbusiness_units

Business unit hierarchy within a company. Supports nesting via parentId.

FieldTypeDescription
namestringBU name. Required.
codestringShort code.
companyIdreferenceFK → companies.
parentIdreferenceFK → business_units. Parent for nested hierarchy.
managerIdreferenceFK → users. BU head.
descriptionstringDescription.
isActivebooleanActive flag.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Locationslocations

Physical location records. Referenced by assets, users, and CMDB CIs.

FieldTypeDescription
namestringLocation name. Required.
codestringShort code.
countrystringCountry.
regionstringRegion or state.
timezonestringIANA timezone.
addressstringPostal address.
isActivebooleanActive flag.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.

Asset Management Tables

Assetsassets

Physical and digital asset inventory. Each record is a tracked asset with a unique tag.

FieldTypeDescription
namestringAsset name. Required.
assetTagstringUnique asset tag (barcode/QR value). Required.
serialNumberstringManufacturer serial number.
modelstringHardware/software model name.
categorystringAsset category (laptop, server, license, etc.).
lifecycleStateenumin_stock | assigned | in_repair | retired
assignedToreferenceFK → users. Current assignee.
locationIdreferenceFK → locations. Physical location.
vendorIdreferenceFK → vendors. Vendor/supplier.
purchaseDatetimestamptzWhen the asset was purchased.
warrantyEndDatetimestamptzWarranty expiry date.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.

CMDB Extended Tables

CMDB CI Relationshipscmdb_rel_cis

Directed relationship edges in the CMDB topology graph. Each record is one directed relationship between two CIs.

FieldTypeDescription
namestringRelationship name. Required.
statusenumdraft | active | inactive | retired
tagslistTag array.
metadatajsonbExtra metadata.
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
fromCiIdreferenceFK → cmdb_cis. Source CI (the "from" end).
toCiIdreferenceFK → cmdb_cis. Target CI (the "to" end).
ownedByreferenceFK → users.
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
CMDB Business Servicescmdb_business_services

Business service records backed by underlying CIs. Maps business capabilities to infrastructure.

FieldTypeDescription
namestringService name. Required.
displayNamestringDisplay label.
codestringShort code.
descriptionstringFull description.
statusenumdraft | active | inactive | retired
tagslistTag array.
metadatajsonbMetadata object.
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
ownedByreferenceFK → users. Business owner.
assignedToreferenceFK → users. Technical owner.
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.

Collaboration Tables

Commentscomments

Comment records on any platform entity. Posted by users, workflows, or system.

FieldTypeDescription
namestringComment name / subject. Required.
descriptionstringComment body. Markdown.
statusenumdraft | active | inactive | retired
tagslistTag array.
metadatajsonbMetadata.
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
ownedByreferenceFK → users. Author.
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Knowledge Basesknowledge_bases

Knowledge base container definitions. Articles belong to a knowledge base.

FieldTypeDescription
namestringKB name. Required.
displayNamestringDisplay label.
codestringShort code.
descriptionstringFull description.
summarystringShort summary.
articleBodystringWelcome/intro body for the KB. Markdown.
statusenumdraft | review | published | archived
publishedAttimestamptzWhen this KB was published.
recordSourceenummanual | workflow | api | import | system
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.

Projects & Programs

Projectsprojects

Project records. Referenced by release sub-tables, milestones, and task tracking.

FieldTypeDescription
namestringProject name. Required.
numberstringAuto-incremented project number.
shortDescriptionstringOne-line summary.
descriptionstringFull description.
statusenumnew | in_progress | pending | on_hold | resolved | closed | cancelled
priorityenumcritical | high | medium | low | planning
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
ownedByreferenceFK → users. Project owner.
assignedToreferenceFK → users. Project manager.
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.

Observability Tables

Alertsalerts

Alert records received from monitoring systems. Auto-create incidents when thresholds are breached.

FieldTypeDescription
namestringAlert name. Required.
numberstringAuto-number.
descriptionstringAlert description.
statusenumnew | processed | failed | ignored
priorityenumcritical | high | medium | low
impactenumhigh | medium | low
urgencyenumhigh | medium | low
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
ciIdreferenceFK → cmdb_cis. CI that generated the alert.
incidentIdreferenceFK → incidents. Incident auto-created from this alert.
ownedByreferenceFK → users.
assignedToreferenceFK → users.
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Monitoring Checksmonitoring_checks

Monitoring check definitions — health probes, threshold checks, and uptime monitors attached to CIs.

FieldTypeDescription
namestringCheck name. Required.
descriptionstringDescription.
statusenumdraft | active | inactive | retired
versionstringSemantic version.
effectiveFromtimestamptzWhen this check became active.
effectiveTotimestamptzWhen this check expires.
conditionsjsonbCheck condition/threshold rules.
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
ciIdreferenceFK → cmdb_cis. CI being monitored.
ownedByreferenceFK → users.
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.

Security & Risk Tables

Security Incidentssecurity_incidents

Security-specific incident records (data breaches, intrusions, policy violations). Linked to the main incidents table.

FieldTypeDescription
namestringSecurity incident name. Required.
numberstringAuto-number.
descriptionstringDescription.
statusenumnew | in_progress | pending | on_hold | resolved | closed | cancelled
priorityenumcritical | high | medium | low
impactenumhigh | medium | low
urgencyenumhigh | medium | low
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
incidentIdreferenceFK → incidents. Linked parent incident.
ciIdreferenceFK → cmdb_cis. Affected CI.
assignedToreferenceFK → users.
ownedByreferenceFK → users.
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Security Vulnerabilitiessecurity_vulnerabilities

Vulnerability records discovered on CIs via scanning or manual assessment.

FieldTypeDescription
namestringVulnerability name. Required.
numberstringAuto-number.
descriptionstringDescription.
statusenumnew | in_progress | pending | on_hold | resolved | closed | cancelled
priorityenumcritical | high | medium | low
impactenumhigh | medium | low
urgencyenumhigh | medium | low
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
ciIdreferenceFK → cmdb_cis. Affected CI.
changeRequestIdreferenceFK → change_requests. Patch/remediation change.
ownedByreferenceFK → users.
assignedToreferenceFK → users.
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Risk Registersrisk_registers

Risk register containers scoped to a service or scope. Risks belong to a register.

FieldTypeDescription
namestringRegister name. Required.
numberstringAuto-number.
descriptionstringDescription.
statusenumnew | in_progress | pending | on_hold | resolved | closed | cancelled
priorityenumcritical | high | medium | low
impactenumhigh | medium | low
urgencyenumhigh | medium | low
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
serviceIdreferenceFK → service_offerings. Service this register covers.
ownerIdreferenceFK → users. Risk owner.
ownedByreferenceFK → users.
assignedToreferenceFK → users.
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Audit Plansaudit_plans

Audit plan definitions — scope, schedule, and objectives for an audit engagement.

FieldTypeDescription
namestringAudit plan name. Required.
descriptionstringDescription.
statusenumdraft | active | inactive | retired
versionstringSemantic version.
effectiveFromtimestamptzAudit period start.
effectiveTotimestamptzAudit period end.
conditionsjsonbScope conditions.
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
ownedByreferenceFK → users. Audit lead.
assignedToreferenceFK → users.
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.

OLA & Availability Tables

OLA Policiesola_policies

Operational Level Agreement policies defining internal team commitments (analogous to SLA but for internal groups).

FieldTypeDescription
namestringOLA name. Required.
descriptionstringDescription.
moduleenumitsm | hr | csm
responseTimeHoursnumberResponse target in business hours. Required.
resolutionTimeHoursnumberResolution target in business hours. Required.
isActivebooleanWhether this OLA is enforced.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Availability Servicesavailability_services

Availability tracking definitions for a service. Measurements and outages are child records.

FieldTypeDescription
namestringService name. Required.
descriptionstringDescription.
statusenumdraft | active | inactive | retired
versionstringSemantic version.
effectiveFromtimestamptzTracking start date.
effectiveTotimestamptzTracking end date.
conditionsjsonbAvailability conditions.
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
serviceIdreferenceFK → service_offerings. Linked service offering.
ownedByreferenceFK → users.
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Continuity Planscontinuity_plans

Business continuity and disaster recovery plan definitions.

FieldTypeDescription
namestringPlan name. Required.
descriptionstringDescription.
statusenumdraft | active | inactive | retired
versionstringSemantic version.
effectiveFromtimestamptzPlan effective start.
effectiveTotimestamptzPlan expiry.
conditionsjsonbActivation conditions.
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
serviceIdreferenceFK → service_offerings. Service this plan covers.
ownedByreferenceFK → users. Plan owner.
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.

Software Management Tables

Software Productssoftware_products

Software product catalogue — the master list of software titles for license management.

FieldTypeDescription
namestringProduct name. Required.
descriptionstringDescription.
statusenumdraft | active | inactive | retired
versionstringProduct version.
effectiveFromtimestamptzSupport start date.
effectiveTotimestamptzEnd-of-support date.
conditionsjsonbEligibility conditions.
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
vendorIdreferenceFK → vendors. Software vendor.
ownedByreferenceFK → users.
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.

Support Queues

Support Queuessupport_queues

Support queue definitions for routing tickets to the right team. Groups are associated with queues.

FieldTypeDescription
namestringQueue name. Required.
descriptionstringDescription.
statusenumdraft | active | inactive | retired
versionstringSemantic version.
effectiveFromtimestamptzQueue active start.
effectiveTotimestamptzQueue active end.
conditionsjsonbRouting conditions.
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
groupIdreferenceFK → groups. Team that owns this queue.
ownedByreferenceFK → users.
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.

Vendor Contracts

Vendor Contractsvendor_contracts

Vendor contract records with terms, SLA references, and effective dates.

FieldTypeDescription
namestringContract name. Required.
descriptionstringDescription.
statusenumdraft | active | inactive | retired
versionstringContract version.
effectiveFromtimestamptzContract start date.
effectiveTotimestamptzContract end date.
conditionsjsonbContract terms and conditions.
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
vendorIdreferenceFK → vendors. Contracting vendor.
ownedByreferenceFK → users. Contract owner.
assignedToreferenceFK → users.
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.

App Studio UI Tables

UI Pagesui_pages

UI page definitions inside App Studio. Each page has a component tree and can be versioned.

FieldTypeDescription
namestringPage name. Required.
slugstringURL path slug. Required.
statusenumdraft | published
descriptionstringPage description.
componentTreejsonbFull component hierarchy JSON.
themeOverridesjsonbPage-level theme overrides.
permissionsjsonbRole-based visibility rules for this page.
workspaceIdstringWorkspace scope. Auto-set.
createdBystringUser ID of creator.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
UI Page Versionsui_page_versions

Version history for UI pages. Created on every save in the visual builder.

FieldTypeDescription
pageIdreferenceFK → ui_pages. Required.
componentTreejsonbComponent tree snapshot at this version.
generatedCodestringReact code generated from the component tree.
versionintegerVersion number. Required.
savedBystringUser ID who saved. Required.
savedAttimestamptzWhen this version was saved.
workspaceIdstringWorkspace scope.
UI Componentsui_components

Reusable custom UI component definitions. Compiled from source and usable in any app page.

FieldTypeDescription
namestringComponent name. Required.
sourcestringRaw component source code. Required.
compiledstringCompiled output. Set by the engine on save.
propsjsonbProps schema definition for this component.
isActivebooleanWhether this component is available.
workspaceIdstringWorkspace scope. Auto-set.
createdBystringUser ID of creator.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.

Flow SDK Tables

Flow Scriptsflow_scripts

Server-side scripts written in JavaScript/TypeScript that run in the Flow SDK engine. Can be called from workflow nodes, rules, and behaviors.

FieldTypeDescription
namestringScript name. Required.
descriptionstringWhat this script does.
sourcestringRaw source code. Required.
compiledstringCompiled/transpiled output. Set by the engine on save.
isActivebooleanWhether this script is available for execution.
workspaceIdstringWorkspace scope. Auto-set.
createdBystringUser ID of creator.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Flow Script Versionsflow_script_versions

Version history for flow scripts. A new record is created every time a script is saved.

FieldTypeDescription
scriptIdstringFK → flow_scripts. Required.
scriptNamestringName at time of save. Required.
sourcestringSource code at this version. Required.
compiledstringCompiled output at this version.
savedBystringUser ID who saved.
workspaceIdstringWorkspace scope.
savedAttimestamptzWhen this version was saved.
Flow Execution Logsflow_execution_logs

Execution records for all Flow SDK script types — scripts, rules, guards, and behaviors.

FieldTypeDescription
scriptNamestringName of the script/rule/guard that ran. Required.
scriptTypeenumflow_script | flow_rule | flow_guard | flow_behavior
triggerTypestringWhat triggered this execution (e.g. after_update, onLoad).
durationMsintegerExecution time in milliseconds.
successbooleanWhether execution completed without error.
inputjsonbInput payload passed to the script.
outputjsonbOutput returned by the script.
errorstringError message if success = false.
createdAttimestamptzAuto-set.
Flow Rulesflow_rules

Server-side business rules that fire on record lifecycle events (before/after create/update/delete) and run a script.

FieldTypeDescription
namestringRule name. Required.
tablestringTarget table slug this rule is attached to. Required.
triggerenumbefore_create | after_create | before_update | after_update | before_delete | after_delete
conditionstringJS condition expression. Rule only runs when this evaluates to truthy.
scriptstringJS script body. Required.
orderintegerExecution order when multiple rules fire on the same trigger.
isActivebooleanWhether this rule fires.
sourceenumuser | plugin | system — who created this rule.
pluginIdstringPlugin ID if source = plugin.
workspaceIdstringWorkspace scope. Auto-set.
createdBystringUser ID of creator.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Flow Behaviorsflow_behaviors

Client-side UI behaviors that attach to forms or pages and run scripts on load, field change, or submit.

FieldTypeDescription
namestringBehavior name. Required.
attachToenumform | page — what UI element this attaches to.
targetIdstringID of the form or page this behavior targets. Required.
triggerenumonLoad | onChange | onSubmit | onFieldChange
fieldNamestringFor onFieldChange — which field triggers this behavior.
scriptstringJS script body. Required.
isActivebooleanWhether this behavior is active.
workspaceIdstringWorkspace scope. Auto-set.
createdBystringUser ID of creator.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.

Data Studio Tables

Data Sourcesdata_sources

Data source connection definitions used in DB Studio, App Studio data bindings, and workflow nodes.

FieldTypeDescription
namestringData source name. Required.
displayNamestringDisplay label.
codestringShort code identifier.
shortDescriptionstringOne-line description.
descriptionstringFull description.
statusenumdraft | active | inactive | retired
tagslistTag array.
metadatajsonbConnection metadata (type, host, port, db name — encrypted at rest).
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Import Setsimport_sets

Batch data import records. Each import set holds the raw staging rows before transform maps are applied.

FieldTypeDescription
namestringImport set name. Required.
displayNamestringDisplay label.
codestringShort code.
shortDescriptionstringOne-line description.
descriptionstringFull description.
statusenumdraft | active | inactive | retired
tagslistTag array.
metadatajsonbImport metadata (source file, row count, column map).
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.

Vendor Management Tables

Vendorsvendors

Vendor and supplier records. Referenced by contracts, assets, purchase orders, and invoice lines across all ITSM entity families.

FieldTypeDescription
namestringVendor name. Required.
displayNamestringDisplay label.
codestringShort vendor code.
shortDescriptionstringOne-line description.
descriptionstringFull description.
statusenumdraft | active | inactive | retired
versionstringSemantic version.
effectiveFromtimestamptzWhen this vendor relationship became effective.
effectiveTotimestamptzWhen this vendor relationship expires.
conditionsjsonbCondition or eligibility rules.
recordSourceenummanual | workflow | api | import | system
environmentenumprod | staging | test | dev
tenantIdstringAuto-set, readonly.
workspaceIdstringAuto-set, readonly.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.

System Internal Tables

All four sys_ tables follow the standard root_<tenantId>_<workspaceId>_<tableName>naming. sys_counters and sys_notifications previously used global collections but were corrected to workspace-scoped via getWorkspaceModel(). The fields below are from the actual Mongoose models.

Sys Counterssys_counters

Auto-increment counter state per workspace. Collection: root_<tenantId>_<workspaceId>_sys_counters. One record per (tenantId, workspaceId, prefix) triple — atomically incremented on each create to produce human-readable numbers like INC-0042.

FieldTypeDescription
tenantIdstringTenant ID. Required. Indexed.
workspaceIdstringWorkspace ID. Required. Indexed. Compound-unique with tenantId + prefix.
prefixstringCounter prefix — typically the entity type (e.g. INC, CHG, PRB). Required.
seqintegerCurrent sequence value. Atomically incremented via $inc. Default: 0.
Sys Notificationssys_notifications

In-app notification inbox per workspace. Collection: root_<tenantId>_<workspaceId>_sys_notifications. One record per notification delivered to a user.

FieldTypeDescription
tenantIdstringTenant ID. Required. Indexed.
workspaceIdstringWorkspace ID. Required. Indexed. Compound index with tenantId, userId, isRead, createdAt.
userIdObjectIdFK → users. Recipient user. Required. Indexed.
typestringNotification type slug (e.g. incident.assigned, sla.breach). Required.
titlestringShort notification title. Required.
bodystringNotification body text. Required.
metamixedArbitrary metadata (entity ID, link, context).
isReadbooleanWhether the user has read this notification. Default: false.
createdAttimestamptzAuto-set.
Sys DB Objectssys_db_objects

Registry of all tables/collections that exist for a workspace. Collection: root_<tenantId>_sys_db_objects (or root_<tenantId>_<workspaceId>_sys_db_objects in strict mode). Used by DB Studio schema view and the scripting engine.

FieldTypeDescription
tenantIdstringTenant ID. Required. Indexed.
workspaceIdstringWorkspace ID. Required. Indexed. Compound-unique with tenantId + name.
namestringTable slug (e.g. incidents, itsm_incident_tasks). Required.
labelstringHuman-readable table label. Required.
extendsTablestringParent table slug if this is an extended table.
isCustombooleanWhether this was created by a user (vs seeded by the platform). Default: true.
isActivebooleanWhether this table is active. Default: true.
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Sys Dictionariessys_dictionaries

Live field definitions for every table in a workspace. Backing store for the form engine, API validation, and DB Studio. Collection follows the same tenant-scoped pattern as sys_db_objects.

FieldTypeDescription
tenantIdstringTenant ID. Required.
workspaceIdstringWorkspace ID. Required.
tableNamestringTable this field definition belongs to.
fieldNamestringField key.
definitionjsonbFull field definition JSON (type, label, choices, required, readonly, reference, etc).
createdAttimestamptzAuto-set.
updatedAttimestamptzAuto-set.
Query any system table using the standard Records API. For example, to find all P1 incidents created in the last 7 days:

GET /api/v1/tables/incidents/records?filter[severity]=P1&filter[created_at][gte]=2026-05-25