---
sidebar:
  label: roboto.domain.views
  order: 19
title: roboto.domain.views
---
Wire types for Views: named, shareable searches over a single resource type.

A View saves the filters, sort, page size, and column layout a user arrived at, so they can return to it later or hand it to a teammate rather than rebuilding it.

## Submodules

- [roboto.domain.views.operations](/docs/reference/python-sdk/roboto/domain/views/operations)
- [roboto.domain.views.record](/docs/reference/python-sdk/roboto/domain/views/record)

## Package Contents

- [CreateViewRequest](/reference/python-sdk/roboto/domain/views/operations#roboto.domain.views.operations.CreateViewRequest) (class): Request payload to create a View.

- [MAX_VIEW_NAME_LENGTH](/reference/python-sdk/roboto/domain/views/operations#roboto.domain.views.operations.MAX_VIEW_NAME_LENGTH) (data): `MAX_VIEW_NAME_LENGTH: Final[int] = 120`. Longest permitted View name, matching the limit layouts uses.

- [ROBOQL_VIEW_TARGETS](/reference/python-sdk/roboto/domain/views/record#roboto.domain.views.record.ROBOQL_VIEW_TARGETS) (data): `ROBOQL_VIEW_TARGETS: Final[frozenset[roboto.query.QueryTarget]]`. Targets whose list page can show a View written in RoboQL.

- [UpdateViewRequest](/reference/python-sdk/roboto/domain/views/operations#roboto.domain.views.operations.UpdateViewRequest) (class): Request payload to update a View.

- [VIEW_SCHEMA_VERSION_V1](/reference/python-sdk/roboto/domain/views/record#roboto.domain.views.record.VIEW_SCHEMA_VERSION_V1) (data): `VIEW_SCHEMA_VERSION_V1: Final[int] = 1`. Value stored in the `schema_version` column for a [`VIEW_SCHEME_V1`](/reference/python-sdk/roboto/domain/views/record#roboto.domain.views.record.VIEW_SCHEME_V1) definition.

- [VIEW_SCHEME_V1](/reference/python-sdk/roboto/domain/views/record#roboto.domain.views.record.VIEW_SCHEME_V1) (data): `VIEW_SCHEME_V1: Final = 'view_v1'`. Identifier for the first version of the View definition schema.

- [ViewDefinition](/reference/python-sdk/roboto/domain/views/record#roboto.domain.views.record.ViewDefinition) (class): The saved contents of a View: what its author searched for, and how they were shown it.

- [ViewDisplay](/reference/python-sdk/roboto/domain/views/record#roboto.domain.views.record.ViewDisplay) (class): How a View presents its results: which columns, in what order, sorted how, how many rows.

- [ViewRecord](/reference/python-sdk/roboto/domain/views/record#roboto.domain.views.record.ViewRecord) (class): A wire-transmissible representation of a View.

- [ViewVisibility](/reference/python-sdk/roboto/domain/views/record#roboto.domain.views.record.ViewVisibility) (class): Who a View is visible to: asked for when it is created, reported when it is read.

- [ensure_definition_renders_for()](/reference/python-sdk/roboto/domain/views/record#roboto.domain.views.record.ensure_definition_renders_for) (function): Refuse a definition that no client could show for the target it is saved against.
