Dashboard Data Model

This page defines the data structures for dashboards, rows, columns, and schema in the Ema platform.

DashboardRow

A single row in a dashboard.

FieldTypeDescription
row_idstringUnique identifier (UUID) for the row
dashboard_idstringUUID of the parent dashboard
stateDashboardRowStateCurrent processing state
column_valuesmap<string, ColumnValue>Map of column name to value
workflow_run_idstringUUID of the associated workflow run
created_atstringISO 8601 creation timestamp
updated_atstringISO 8601 last update timestamp
created_bystringUser ID who created the row
error_messagestringError details if state is FAILED

DashboardRowState Enum

ValueIntegerDescription
UNSPECIFIED0Default/unspecified
INITIAL1Row is in initial state
QUEUED2Row is queued for processing
RUNNING3Workflow is currently executing
SUCCESS4Workflow finished successfully
FAILED5Workflow encountered an error
REVIEWING6Row is under review (e.g., HITL)

Complete list of DashboardRowState values and integer mappings.

ColumnValue

The value of a single cell in a dashboard row.

FieldTypeDescription
string_valuestringString representation of the value
valueValueTyped value (uses the workflow Value type)
column_typeColumnTypeThe column's data type

ColumnDetails

Metadata for a single column in the dashboard schema.

FieldTypeDescription
namestringInternal column identifier
display_namestringUser-friendly column name
column_typeColumnTypeData type of the column
is_inputboolWhether this is an input column
is_outputboolWhether this is an output column
descriptionstringDescription of the column
type_referenceTypeReferenceFull type reference
action_namestringAction that produces this output column
output_namestringOutput parameter name for output columns

ColumnType Enum

ValueIntegerDescription
UNSPECIFIED0Default/unspecified
STRING1Text string
NUMBER2Numeric value (double)
BOOLEAN3True/false
DATE4Date value
TIME5Time value
DOCUMENT6Document reference
VALIDATION_REPORT7Validation report
ARRAY8Array of values
OBJECT9Object/map
INTEGER10Integer value (int64)
ENUM11GWE enum type defined in workflow_def
DOCUMENT_VERSION_ID12Document version identifier

Complete list of ColumnType values from the proto definition.

DashboardSchema

The schema defining the structure of a dashboard.

FieldTypeDescription
columnsrepeated ColumnDetailsList of column definitions

The schema is derived from the workflow's input/output definitions. Input columns correspond to workflow inputs, and output columns correspond to workflow outputs (or named results).

DashboardRowResult

Result data for a processed row, used by the HTTP API.

FieldTypeDescription
row_idstringUUID of the row
stateDashboardRowStateProcessing state
column_valuesmap<string, ColumnValue>Output values
error_messagestringError message if failed

SubDashboard

A filtered view of the main dashboard.

FieldTypeDescription
sub_dashboard_idstringUUID of the sub-dashboard
dashboard_idstringUUID of the parent dashboard
namestringDisplay name
filterobjectFilter criteria

Last updated: Jul 3, 2026