# linear_custom_views (Data Source)

Lists every Linear custom view the API key can see.

## Example Usage

```terraform
data "linear_custom_views" "all" {}

output "shared_views" {
  value = [
    for v in data.linear_custom_views.all.custom_views :
    v.name if v.shared
  ]
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Read-Only

- `custom_views` (Attributes List) The views, as Linear returns them. (see [below for nested schema](#nestedatt--custom_views))

<a id="nestedatt--custom_views"></a>
### Nested Schema for `custom_views`

Read-Only:

- `color` (String) Colour of the view icon as a hex string.
- `description` (String) Description of the view.
- `feed_item_filter_json` (String) Feed item filter as Linear stores it, normalised.
- `filter_json` (String) Issue filter as Linear stores it, normalised.
- `icon` (String) Icon of the view.
- `id` (String) UUID of the view.
- `initiative_filter_json` (String) Initiative filter as Linear stores it, normalised.
- `model_name` (String) What the view lists — `Issue`, `Project`, `Initiative` or `FeedItem`.
- `name` (String) Name of the view.
- `owner_id` (String) UUID of the user who owns the view.
- `project_filter_json` (String) Project filter as Linear stores it, normalised.
- `shared` (Boolean) Whether the view is visible to the whole workspace.
- `team_id` (String) UUID of the team the view is scoped to, null for a workspace-wide view.