Reports

Table name: reports

🛠️ Partner API Alignment Migration

✅ This table is new as of February 2026 and will not be impacted

These reports capture issues, feedback, and incidents related to charge points, charge, or operator, including user-submitted reports, system-generated alerts, and support tickets from Zendesk.

SQL: reports

Schema

Column NameData TypeDescription
Primary ID
idINTEGERPrimary key - unique identifier for the report
Other IDs
user_idINTEGERID of the user who created or is associated with the report
relation_idINTEGERID of the related entity based on the value of relation_type (either charge point id, charge id, or operator id)
operator_idINTEGERID of the operator responsible for handling this report
assigned_to_operator_idINTEGERID of the operator to whom this report has been assigned
resolved_by_user_idINTEGERID of the user who resolved this report
assigned_to_user_idINTEGERID of the specific user within the operator organization assigned to this report
reason_idINTEGERID of the report reason/category (links to report_reasons table)
Timestamps
created_atTIMESTAMP_NTZTimestamp when the report was created in the system
updated_atTIMESTAMP_NTZTimestamp when the report was last updated
resolved_atTIMESTAMP_NTZTimestamp when the report was marked as resolved
escalated_atTIMESTAMP_NTZTimestamp when the report was escalated to a higher priority or different team
assigned_atTIMESTAMP_NTZTimestamp when the report was assigned to an operator or user
deleted_atTIMESTAMP_NTZTimestamp when the report was soft-deleted (null if not deleted)
Attributes
relation_typeVARCHARType of entity the report relates to ('charge_point' (most often), 'charge', or 'operator')
bodyVARCHARMain content/description of the report provided by the user or system
admin_noteVARCHARInternal note added by Monta administrators (not visible to operators)
operator_noteVARCHARNote added by the operator handling the report
user_noteVARCHARAdditional note or comment from the user who created the report
image1_pathVARCHARFile path or URL to the first attached image (if any)
image2_pathVARCHARFile path or URL to the second attached image (if any)
image3_pathVARCHARFile path or URL to the third attached image (if any)
stateVARCHARCurrent state of the report (e.g., 'new', 'assigned_operator', 'assigned_monta', 'escalated_installer', 'escalated_hardware', 'resolved')
sourceVARCHAROrigin of the report (e.g., 'app', 'system', 'zendesk', 'web') indicating how the report was created
logVARIANTJSON array containing historical log entries tracking state changes, assignments, and other events in the report lifecycle

Changes from Last Version

Summary

  • New table

Inclusion Criteria

  • the operator_id or assigned_operator_id must exist in the operator's FUTURE__operators.id values

Data flow

Upstream tablesDownstream tables
FUTURE__operatorsNone

Alignment

Partner API

  • Aligns with the pricing objects in the Partner API get/reports endpoint