Docs
Get Views
GET /views
GET
/viewsLists the saved views for one table: every shared view plus only the caller's own private views, in display order. Another user's private views are never returned. tableId is the id of the screen's table (the UI's own table name), and each view's configuration is the layout state (columns, sorting, grouping, filters) as a JSON string. Needs OrganizationBasicAccess on the organization.
Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| tableId | string | Optional |
Response
Type: GetViewsResponse[]
GetViewsResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| isDefault | boolean | |
| name | string| null | |
| index | integer | |
| entityId | uuid | |
| tableId | string| null | |
| configuration | string| null | |
| isPrivate | boolean |