Other types

Learn about other types supported by the views APIs

The monday.com views APIs enable you to create, read, update, and delete board views.

The types below are used by the views queries and mutations, and are not independently queryable.

ItemsQueryGroup

An object containing a group of filtering rules.

FieldTypeDescriptionEnum Values
groups[ItemsQueryGroup!]The rule groups to filter your queries.
operatorItemsQueryOperatorThe operator to use for the rule groups. The default is and.and or
rules[ItemsQueryRule!]The rules to filter your queries.

ItemsQueryRule

The rules to filter your queries by specific columns.

FieldTypeDescriptionEnum Values
column_idID!The unique identifier of the column to filter by.
compare_attributeStringThe comparison attribute. You can find the supported attributes for each column type in the column types reference. Most columns don't have a compare_attribute.
compare_valueCompareValue!The column value to filter by. This can be a string or index value depending on the column type. You can find the supported values for each column type in the column types reference.
operatorItemsQueryRuleOperatorThe condition for value comparison. The default is any_of.any_of
not_any_of
is_empty
is_not_empty
greater_than
greater_than_or_equals
lower_than
lower_than_or_equal
between
not_contains_text
contains_text
contains_terms
starts_with
ends_with
within_the_next
within_the_last

ItemsQueryOrderBy

The column attributes to sort results by.

FieldTypeDescriptionEnum Values
column_idString!The unique identifier of the column to filter or sort by. You can also enter \"__creation_log__\" or \"__last_updated__\" to chronologically sort results by their last updated or creation date (oldest to newest).
directionItemsOrderByDirectionThe direction to sort items in. The default is asc.asc
desc

TableViewSettingsInput

An object containing the table view setting's configuration.

FieldTypeDescription
columnsColumnsConfigInputThe table view's column visibility configuration.
group_byGroupBySettingsInputThe table view's grouping conditions.

ColumnConfigInput

The column visibility and display order configuration.

FieldTypeDescription
column_order[String!]The order of the columns.
column_properties[ColumnPropertyInput!]The columns' configuration.
floating_columns_countIntThe number of floating columns to display.
subitems_column_properties[ColumnPropertyInput!]The subitem columns' configuration.

ColumnPropertyInput

The column visibility configuration.

FieldTypeDescription
column_idString!The column's unique identifier.
visibleBoolean!Whether the column is visible.

GroupBySettingsInput

The table view's grouping and visibility conditions.

FieldTypeDescription
conditions[GroupByConditionInput!]!The list of item grouping conditions.
hideEmptyGroupsBooleanWhether to hide empty groups without items.

GroupByConditionInput

The list of item grouping conditions.

FieldTypeDescription
columnIdString!The column's unique identifier.
configGroupByColumnConfigInputThe column's sort settings.

GroupByColumnConfigInput

The group's column sort settings.

FieldTypeDescription
sortSettingsGroupBySortSettingsInputThe column's sort settings.

GroupBySortSettingsInput

The direction and type of sort.

FieldTypeDescriptionEnum Values
directionSortDirection!The group's sort direction.ASC
DESC
typeStringThe type of sorting to apply.