---
title: "Get all views for a table"
method: GET
path: "/v1/table/{table_id}/views"
tags: ["Table View"]
---

# Get all views for a table

`GET /v1/table/{table_id}/views`

Retrieve all views associated with a specific table.

## Path parameters

- `table_id` string, uuid, required

## Query parameters

- `ignore_columns` boolean

## Response `200`

Successfully retrieved all views for the table.

- object
  - `metadata` object
  - `data` TableView[]
    - `publicId` string, uuid
    - `name` string, required
    - `filterSettings` Filter[]
      - `columnId` string, uuid
      - `columnName` string, required
      - `filterType` 'eq' | 'lt' | 'gt' | 'lte' | 'gte' | 'neq' | 'contains' | 'in' | 'row_id' | 'is' | 'is_not' | 'one_of' | 'not_one_of' | 'is_null' | 'is_not_null' | 'not_contains' | 'starts_with' | 'ends_with' | 'is_valid' | 'is_not_valid', required
      - `value` unknown
      - `multipleValues` unknown[]
        - unknown
      - `orGroup` string
    - `sortSettings` Sort[]
      - `columnId` string, uuid
      - `columnName` string, required
      - `direction` string, required
    - `groupSettings` Group[], nullable
      - `columnId` string, uuid
      - `columnName` string, required
      - `direction` string, required
    - `chartSettings` Chart
      - `chartType` 'bar' | 'horizontal-bar' | 'stacked-bar' | 'stacked-horizontal-bar' | 'clustered-bar' | 'clustered-horizontal-bar' | 'grouped-bar' | 'area' | 'line' | 'multiaxis-line' | 'pie' | 'doughnut' | 'polar-area' | 'radar' | 'scatter' | 'bubble' | 'gantt'
      - `aggregate` 'sum' | 'count' | 'avg' | 'null', nullable
      - `sortAggregate` 'asc' | 'desc' | 'null', nullable
      - `showLegend` boolean
      - `showValues` boolean
      - `showTitle` boolean
      - `columnValueId` string, uuid, nullable
      - `columnLabelId` string, uuid
      - `columnStackId` string, uuid, nullable
      - `columnGanttStartDateId` string, uuid, nullable
      - `columnGanttEndDateId` string, uuid, nullable
    - `colourSettings` Colour[]
      - `columnId` string, uuid
      - `columnName` string, required
      - `filterType` 'eq' | 'lt' | 'gt' | 'lte' | 'gte' | 'neq' | 'contains' | 'in' | 'row_id' | 'is' | 'is_not' | 'one_of' | 'not_one_of' | 'is_null' | 'is_not_null' | 'not_contains' | 'starts_with' | 'ends_with' | 'is_valid' | 'is_not_valid', required
      - `value` unknown
      - `multipleValues` unknown[]
        - unknown
      - `backgroundColour` string, required
      - `fontColour` string, required
    - `isDefault` boolean
    - `columns` TableViewColumn[]
      - `publicId` string, uuid
      - `name` string
      - `kind` 'text' | 'datetime' | 'date' | 'link' | 'multilink' | 'select' | 'multiselect' | 'integer' | 'float' | 'percentage' | 'tag' | 'variable' | 'attachment' | 'phone' | 'email' | 'vote' | 'checkbox' | 'duration'
      - `width` integer
      - `description` union
        - object, nullable
        - Draftjs
          - `content` DraftjsContent, required
            - `blocks` DraftjsBlock[], required
              - …
            - `entityMap` object, required
      - `kindOptions` SelectOptionsLookup
        - `tableOptions` SelectTableOptions
          - `columnId` string
          - `tableId` string
          - `viewId` string
          - `dependencies` SelectTableDependency[], nullable
            - `columnId` string, required
            - `columnJoinId` string, nullable
          - `liveValues` boolean
        - `manualOptions` string[]
        - `autopopulate` boolean
      - `alterOptions` union
        - TableColumnAlter
          - `dateConversionFormat` 'DD/MM/YYYY' | 'MM/DD/YYYY' | 'ISO8601' | 'DD-Mon-YY'
          - `runScriptOnAllCells` boolean
        - object, nullable
      - `isIndexed` boolean
      - `script` string, nullable
      - `scriptEnabled` boolean
      - `formula` string, nullable
      - `formulaEnabled` boolean
      - `aggregate` integer
      - `isJoined` boolean, nullable
      - `thousandSeparator` boolean
      - `displayLink` boolean
      - `decimalPlaces` integer
      - `dateFormat` string, nullable
      - `headerBackgroundColor` string, nullable
      - `headerTextColor` string, nullable
      - `exportWidth` integer, nullable
      - `isSynced` boolean
      - `sortOrder` integer
      - `locked` boolean
      - `required` boolean
      - `stringValidation` string, nullable
      - `validationMessage` string, nullable
      - `hardValidation` boolean
      - `validationNoBlanks` boolean
      - `validationNoDuplicates` boolean
      - `displayValidationError` boolean
    - `frozenIndex` integer
    - `rowHeight` integer
    - `description` Draftjs
      - `content` DraftjsContent, required
        - `blocks` DraftjsBlock[], required
          - `data` object, required
          - `depth` integer, required
          - `entityRanges` DraftjsEntityRange[], required
            - `offset` integer, required
            - `length` integer, required
            - `key` integer, required
          - `inlineStyleRanges` DraftjsInlineStyleRange[], required
            - `offset` integer, required
            - `length` integer, required
            - `style` string, required
          - `key` string, required
          - `text` string, required
          - `type` string, required
        - `entityMap` object, required
    - `type` integer
    - `disableNewRow` boolean
    - `disableSyncCsv` boolean
    - `allowContributorDelete` boolean
    - `displayValidationErrorRows` integer
    - `displayCommentRows` integer
    - `collapsedGroupView` boolean
    - `unpackMultiselectGroupView` boolean
    - `lockedFromDuplication` boolean

## Other responses

- `403` — Unauthorized action - User lacks necessary permissions.
- `404` — Table not found.

---

[API](https://skmtc.net/morta-technology/apis/morta-api-reference.md) · [All operations](https://skmtc.net/morta-technology/apis/morta-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/morta-technology/morta-api-reference/revisions/9c58c1c1e7e8/schema)
