Skip to content

app.moderation_actions

TableRow level security on

Append-only moderation decisions on a listing with the statement of reasons sent to the affected party (EU Digital Services Act article 17). Written only by the platform: from the operator console (A90) with the statement in parts and the deciding operator. The latest decision rules: Removed hides the listing and refuses applications until Restored.

Primary key: id

Columns of app.moderation_actions
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.opportunities on insert; never accepted from the caller and never changed.References app.organizations.id
opportunity_iduuidNoOpportunity decided on.References app.opportunities.id
listing_report_iduuidYesReport that prompted the decision, when one did.References app.listing_reports.id
actionapp.moderation_action_kindNoRemoved, Restricted, Restored or No Action.
statement_of_reasonstextNoStatement of reasons sent to the affected party.
decided_attimestamp with time zoneNoWhen the decision was made.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.
decided_byuuidYesOperator who decided, from the session; null for decisions before the console.References app.people.id
groundapp.moderation_groundYesIllegal Content, Terms Violation or No Violation.
rule_referencetextYesThe law or the terms and policies clause relied on, for example Acceptable Use Policy 3.2.
factstextYesThe facts and circumstances the decision rests on.
automated_detectionbooleanNoWhether automated means detected the content; false for every console decision.
automated_decisionbooleanNoWhether the decision was taken by automated means; false for every console decision.
moderation_appeal_iduuidYesAppeal whose reversal produced this decision, when one did.References app.moderation_appeals.id