# contentViews

Query

List saved content (media deck) views for the current workspace, ordered by most-recently-updated first. Pair with `items(presetId:)` to fetch the items belonging to a view. Returns at most 1000 rows; this field is not paginated.

Available to agents as MCP tool `getContentViews` — see [Read tools](/api/v2/docs/mcp/read-tools#get-content-views).

## Arguments

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `filter` | [`ContentViewFilterInput`](/api/v2/docs/types/content-view-filter-input) | No | `{}` | Optional filter criteria. When omitted or empty, returns the current workspace's media_deck views. |

## Returns

Returns [`[ContentView!]!`](/api/v2/docs/types/content-view).

## Examples

### List content views

Return the workspace's saved media-deck views, newest-updated first.

```graphql
query ContentViewsDefault {
  contentViews {
    id
    name
    filters
    sort
    showReportingStats
    createdAt
    updatedAt
  }
}
```

Response — HTTP 200:

```json
{
  "data": {
    "contentViews": [
      {
        "id": "eaa824b8-374f-5db8-bee2-51dfd8c3776c",
        "name": "All Northwind Content",
        "filters": {},
        "sort": [],
        "showReportingStats": true,
        "createdAt": "2024-12-31T18:00:00Z",
        "updatedAt": "2024-12-31T18:00:00Z"
      },
      {
        "id": "148529d3-8e44-5bec-b39e-3127ba52cfef",
        "name": "Legacy Reels Preset",
        "filters": {},
        "sort": [],
        "showReportingStats": true,
        "createdAt": "2024-12-31T16:00:00Z",
        "updatedAt": "2024-12-31T16:00:00Z"
      }
    ]
  }
}
```
