---
title: "List Views"
method: GET
path: "/projects/{project_id}/views"
tags: ["component_views"]
---

# List Views

`GET /projects/{project_id}/views`

List all views the user can see for a component.

Returns:
- User's user views
- All project-visible views (if visibility filter allows)

Note: If no project views exist for the scope, a default project-visible view
is automatically created. This ensures every user sees at least one shared view.

## Path parameters

- `project_id` string, uuid4, required

## Query parameters

- `component` 'logstream_table' | 'experiments_table', required — Types of components that can have saved views.
- `run_id` string, uuid — Required run ID
- `visibility` 'user' | 'project' — Visibility levels for views.

## Response `200`

Successful Response

- ComponentViewResponse[]
  - `id` string, uuid4, required
  - `created_by` string, uuid4, required
  - `project_id` string, uuid4, required
  - `run_id` string, uuid4, nullable, required
  - `component` 'logstream_table' | 'experiments_table', required — Types of components that can have saved views.
  - `visibility` 'user' | 'project', required — Visibility levels for views.
  - `name` string, required
  - `description` string, nullable, required
  - `view_data` object, required
  - `is_default` boolean, required
  - `can_edit` boolean
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/galileo/apis/galileo-api-server.md) · [All operations](https://skmtc.net/galileo/apis/galileo-api-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/galileo/galileo-api-server/versions/933e8c8e6366/schema)
