Baserow Representative API Octri Preview
GET/api/database/views/table/{table_id}/

List views for a database table

Lists the views belonging to a database table. Use type to filter by view type, include to request additional view attributes, or limit to cap the number of results; this endpoint does not support pagination.

4 parameters
table_idintegerrequired
The unique integer identifier of the table whose views to list.
includestringoptional
Comma-separated view attributes to include: `filters`, `sortings`, `decorations`, `group_bys`, or `default_row_values`.
limitintegeroptional
Maximum number of views to return. No limit is applied by default.
typestringoptional
Filter the results by view type.

3 status codes
200Returns an array of view objects belonging to the table. Properties vary by view type and can include the additional attributes requested with `include`.
allow_public_exportbooleanoptional
Indicates whether it's allowed to export a publicly shared view.
decorationsarray<object>optional
default_row_valuesarray<object>optional
filter_groupsarray<object>optional
filter_typeobjectoptional
Indicates whether all the rows should apply to all filters (AND) or to any filter (OR). * `AND` - And * `OR` - Or
filtersarray<object>optional
filters_disabledbooleanoptional
Allows users to see results unfiltered while still keeping the filters saved for the view.
frozen_column_countintegeroptional
Number of frozen columns including the primary field.
Default:1
group_by_layoutobjectoptional
How grouped rows are presented: sections with a header above each group, or one column per group-by level beside the rows. * `section` - Section * `column` - Column
group_bysarray<object>optional
idintegerrequired
namestringrequired
orderintegerrequired
owned_by_idintegeroptional
ownership_typestringrequired
publicbooleanoptional
Indicates whether the view is publicly accessible to visitors.
public_view_has_passwordbooleanrequired
Indicates whether the public view is password protected or not. :return: True if the public view is password protected, False otherwise.
row_height_sizestringoptional
* `small` - Small * `medium` - Medium * `large` - Large
Allowed:smallmediumlarge
row_identifier_typestringoptional
* `id` - Id * `count` - Count
Allowed:idcount
show_logobooleanoptional
slugstringrequired
The unique slug that can be used to construct a public URL.
sortingsarray<object>optional
tableobjectrequired
table_idintegerrequired
typestringrequired
400Returned when the authenticated user is not in the table's workspace.
detailstringoptional
Human readable details about what went wrong.
errorstringoptional
Machine readable error indicating what went wrong.
Allowed:ERROR_USER_NOT_IN_GROUP
404Returned when the specified table does not exist.
detailstringoptional
Human readable details about what went wrong.
errorstringoptional
Machine readable error indicating what went wrong.
Allowed:ERROR_TABLE_DOES_NOT_EXIST

Error handling

A 400 is returned when the authenticated user is not in the table's workspace. A 404 is returned when the specified table_id does not identify an existing table.