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.
| Field | Type | Description | Enum Values |
|---|---|---|---|
| groups | [ItemsQueryGroup!] | The rule groups to filter your queries. | |
| operator | ItemsQueryOperator | The 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.
| Field | Type | Description | Enum Values |
|---|---|---|---|
| column_id | ID! | The unique identifier of the column to filter by. | |
| compare_attribute | String | The 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_value | CompareValue! | 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. | |
| operator | ItemsQueryRuleOperator | The condition for value comparison. The default is any_of. | any_ofnot_any_ofis_emptyis_not_emptygreater_thangreater_than_or_equalslower_thanlower_than_or_equalbetweennot_contains_textcontains_textcontains_termsstarts_withends_withwithin_the_nextwithin_the_last |
ItemsQueryOrderBy
The column attributes to sort results by.
| Field | Type | Description | Enum Values |
|---|---|---|---|
| column_id | String! | 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). | |
| direction | ItemsOrderByDirection | The direction to sort items in. The default is asc. | ascdesc |
TableViewSettingsInput
An object containing the table view setting's configuration.
| Field | Type | Description |
|---|---|---|
| columns | ColumnsConfigInput | The table view's column visibility configuration. |
| group_by | GroupBySettingsInput | The table view's grouping conditions. |
ColumnConfigInput
The column visibility and display order configuration.
| Field | Type | Description |
|---|---|---|
| column_order | [String!] | The order of the columns. |
| column_properties | [ColumnPropertyInput!] | The columns' configuration. |
| floating_columns_count | Int | The number of floating columns to display. |
| subitems_column_properties | [ColumnPropertyInput!] | The subitem columns' configuration. |
ColumnPropertyInput
The column visibility configuration.
| Field | Type | Description |
|---|---|---|
| column_id | String! | The column's unique identifier. |
| visible | Boolean! | Whether the column is visible. |
GroupBySettingsInput
The table view's grouping and visibility conditions.
| Field | Type | Description |
|---|---|---|
| conditions | [GroupByConditionInput!]! | The list of item grouping conditions. |
| hideEmptyGroups | Boolean | Whether to hide empty groups without items. |
GroupByConditionInput
The list of item grouping conditions.
| Field | Type | Description |
|---|---|---|
| columnId | String! | The column's unique identifier. |
| config | GroupByColumnConfigInput | The column's sort settings. |
GroupByColumnConfigInput
The group's column sort settings.
| Field | Type | Description |
|---|---|---|
| sortSettings | GroupBySortSettingsInput | The column's sort settings. |
GroupBySortSettingsInput
The direction and type of sort.
| Field | Type | Description | Enum Values |
|---|---|---|---|
| direction | SortDirection! | The group's sort direction. | ASCDESC |
| type | String | The type of sorting to apply. |
