---
title: "Get model views"
method: GET
path: "/api/v1/models/{modelId}/view"
tags: ["Models"]
---

# Get model views

`GET /api/v1/models/{modelId}/view`

## Path parameters

- `modelId` string, uuid, required — Model UUID

## Query parameters

- `branch_id` string, uuid — Branch ID to use for branch-aware operations

## Response `200`

List of views in the model

- ModelsGetViewResponse
  - `success` boolean, required — Whether the operation succeeded
  - `views` object[], required — List of views
    - `description` string — View description
    - `fields` object[], required — Fields in the view
      - `name` string, required — Field name
      - `type` 'dimension' | 'measure' | 'filter', required — Field type
    - `hidden` boolean — Whether the view is hidden
    - `label` string — View label
    - `name` string, required — View name

## Other responses

- `401` — Authentication required
- `403` — Permission denied
- `404` — Model not found

---

[API](https://skmtc.net/omniapp/apis/omni-api.md) · [All operations](https://skmtc.net/omniapp/apis/omni-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/omniapp/omni-api/versions/4701f292c621/schema)
