> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SupportViewFilter

> A view's filters, field for field the `SupportTicketFilter` input, so a view's `filter` can be given back to `supportViewCreate`, `supportViewUpdate` or `supportTickets(filter:)` as it was read. A ticket matches when it matches every field that isn't null, every filter in `and` and at least one filter in `or`. A filter with every field null matches every ticket. Ids are the API's; a customer's is its legacy id.

**and** `[\[SupportViewFilter!\]](/docs/api-reference/v3/reference/support/support-view-filter)`

Every one of these filters matches. Null when the view has no such filters.

**assigned** `Boolean`

True: tickets with an assignee of any kind. False: tickets with none, the help desk's "Unassigned". Null when the view doesn't filter by it.

**assigneeId** `[SupportViewIdFilter](/docs/api-reference/v3/reference/support/support-view-id-filter)`

The team member the ticket is assigned to. Null when the view doesn't filter by it.

**fields**

**anyOf** `[ID!]`

One of these ids. Null when the view doesn't use this operator.

**noneOf** `[ID!]`

None of these ids. Null when the view doesn't use this operator.

**assigneeType** `[SupportViewAssigneeTypeFilter](/docs/api-reference/v3/reference/support/support-view-assignee-type-filter)`

What kind of assignee the ticket has. The help desk's "AI Agent" assignee reads as AI. Null when the view doesn't filter by it.

**fields**

**anyOf** `[\[SupportTicketAssigneeType!\]](/docs/api-reference/v3/reference/support/support-ticket-assignee-type)`

One of these kinds. Null when the view doesn't use this operator.

**noneOf** `[\[SupportTicketAssigneeType!\]](/docs/api-reference/v3/reference/support/support-ticket-assignee-type)`

None of these kinds. Null when the view doesn't use this operator.

**channel** `[SupportViewChannelFilter](/docs/api-reference/v3/reference/support/support-view-channel-filter)`

The channels the ticket is on. Null when the view doesn't filter by it.

**fields**

**anyOf** `[\[MessageChannel!\]](/docs/api-reference/v3/reference/support/message-channel)`

On one of these channels. Null when the view doesn't use this operator.

**noneOf** `[\[MessageChannel!\]](/docs/api-reference/v3/reference/support/message-channel)`

On none of these channels. Null when the view doesn't use this operator.

**closedAt** `[SupportViewDateFilter](/docs/api-reference/v3/reference/support/support-view-date-filter)`

When the ticket was closed. Null when the view doesn't filter by it.

**fields**

**gt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

After this instant. Null when there is no such bound.

**lt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

Before this instant. Null when there is no such bound.

**newerThan** `[SupportViewRelativeTime](/docs/api-reference/v3/reference/support/support-view-relative-time)`

Less than this long ago. Null when there is no such bound.

**fields**

**unit** `[SupportTicketRelativeTimeUnit!](/docs/api-reference/v3/reference/support/support-ticket-relative-time-unit)` *required*

The unit `value` counts.

**value** `Int!` *required*

How many units.

**olderThan** `[SupportViewRelativeTime](/docs/api-reference/v3/reference/support/support-view-relative-time)`

More than this long ago. Null when there is no such bound.

**fields**

**unit** `[SupportTicketRelativeTimeUnit!](/docs/api-reference/v3/reference/support/support-ticket-relative-time-unit)` *required*

The unit `value` counts.

**value** `Int!` *required*

How many units.

**createdAt** `[SupportViewDateFilter](/docs/api-reference/v3/reference/support/support-view-date-filter)`

When the ticket was created. Null when the view doesn't filter by it.

**fields**

**gt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

After this instant. Null when there is no such bound.

**lt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

Before this instant. Null when there is no such bound.

**newerThan** `[SupportViewRelativeTime](/docs/api-reference/v3/reference/support/support-view-relative-time)`

Less than this long ago. Null when there is no such bound.

**fields**

**unit** `[SupportTicketRelativeTimeUnit!](/docs/api-reference/v3/reference/support/support-ticket-relative-time-unit)` *required*

The unit `value` counts.

**value** `Int!` *required*

How many units.

**olderThan** `[SupportViewRelativeTime](/docs/api-reference/v3/reference/support/support-view-relative-time)`

More than this long ago. Null when there is no such bound.

**fields**

**unit** `[SupportTicketRelativeTimeUnit!](/docs/api-reference/v3/reference/support/support-ticket-relative-time-unit)` *required*

The unit `value` counts.

**value** `Int!` *required*

How many units.

**customerId** `ID`

The ticket's main customer, as the customer's legacy id. Requires customers\_read. Null when the view doesn't filter by it.

**drafts** `[SupportViewNumberFilter](/docs/api-reference/v3/reference/support/support-view-number-filter)`

How many open composer drafts the ticket has. Null when the view doesn't filter by it.

**fields**

**gt** `Float`

Greater than this value. Null when there is no such bound.

**gte** `Float`

At least this value. Null when there is no such bound.

**lt** `Float`

Less than this value. Null when there is no such bound.

**lte** `Float`

At most this value. Null when there is no such bound.

**inboxEmail** `[SupportViewStringListFilter](/docs/api-reference/v3/reference/support/support-view-string-list-filter)`

The store inbox address the ticket came in on. Null when the view doesn't filter by it.

**fields**

**allOf** `[String!]`

Every one of these values. Null when the view doesn't use this operator.

**anyOf** `[String!]`

At least one of these values. Null when the view doesn't use this operator.

**noneOf** `[String!]`

None of these values. Null when the view doesn't use this operator.

**lastCustomerMessageAt** `[SupportViewDateFilter](/docs/api-reference/v3/reference/support/support-view-date-filter)`

When the customer last wrote. Null when the view doesn't filter by it.

**fields**

**gt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

After this instant. Null when there is no such bound.

**lt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

Before this instant. Null when there is no such bound.

**newerThan** `[SupportViewRelativeTime](/docs/api-reference/v3/reference/support/support-view-relative-time)`

Less than this long ago. Null when there is no such bound.

**fields**

**unit** `[SupportTicketRelativeTimeUnit!](/docs/api-reference/v3/reference/support/support-ticket-relative-time-unit)` *required*

The unit `value` counts.

**value** `Int!` *required*

How many units.

**olderThan** `[SupportViewRelativeTime](/docs/api-reference/v3/reference/support/support-view-relative-time)`

More than this long ago. Null when there is no such bound.

**fields**

**unit** `[SupportTicketRelativeTimeUnit!](/docs/api-reference/v3/reference/support/support-ticket-relative-time-unit)` *required*

The unit `value` counts.

**value** `Int!` *required*

How many units.

**lastMerchantMessageAt** `[SupportViewDateFilter](/docs/api-reference/v3/reference/support/support-view-date-filter)`

When the team, the AI agent or an automation last wrote. Null when the view doesn't filter by it.

**fields**

**gt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

After this instant. Null when there is no such bound.

**lt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

Before this instant. Null when there is no such bound.

**newerThan** `[SupportViewRelativeTime](/docs/api-reference/v3/reference/support/support-view-relative-time)`

Less than this long ago. Null when there is no such bound.

**fields**

**unit** `[SupportTicketRelativeTimeUnit!](/docs/api-reference/v3/reference/support/support-ticket-relative-time-unit)` *required*

The unit `value` counts.

**value** `Int!` *required*

How many units.

**olderThan** `[SupportViewRelativeTime](/docs/api-reference/v3/reference/support/support-view-relative-time)`

More than this long ago. Null when there is no such bound.

**fields**

**unit** `[SupportTicketRelativeTimeUnit!](/docs/api-reference/v3/reference/support/support-ticket-relative-time-unit)` *required*

The unit `value` counts.

**value** `Int!` *required*

How many units.

**lastResponseAt** `[SupportViewDateFilter](/docs/api-reference/v3/reference/support/support-view-date-filter)`

When the customer or the team last wrote. Null when the view doesn't filter by it.

**fields**

**gt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

After this instant. Null when there is no such bound.

**lt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

Before this instant. Null when there is no such bound.

**newerThan** `[SupportViewRelativeTime](/docs/api-reference/v3/reference/support/support-view-relative-time)`

Less than this long ago. Null when there is no such bound.

**fields**

**unit** `[SupportTicketRelativeTimeUnit!](/docs/api-reference/v3/reference/support/support-ticket-relative-time-unit)` *required*

The unit `value` counts.

**value** `Int!` *required*

How many units.

**olderThan** `[SupportViewRelativeTime](/docs/api-reference/v3/reference/support/support-view-relative-time)`

More than this long ago. Null when there is no such bound.

**fields**

**unit** `[SupportTicketRelativeTimeUnit!](/docs/api-reference/v3/reference/support/support-ticket-relative-time-unit)` *required*

The unit `value` counts.

**value** `Int!` *required*

How many units.

**mentionedId** `[SupportViewIdListFilter](/docs/api-reference/v3/reference/support/support-view-id-list-filter)`

The team members an internal note on the ticket @mentions. Null when the view doesn't filter by it.

**fields**

**allOf** `[ID!]`

Has every one of these ids. Null when the view doesn't use this operator.

**anyOf** `[ID!]`

Has at least one of these ids. Null when the view doesn't use this operator.

**noneOf** `[ID!]`

Has none of these ids. Null when the view doesn't use this operator.

**or** `[\[SupportViewFilter!\]](/docs/api-reference/v3/reference/support/support-view-filter)`

At least one of these filters matches. Null when the view has no such choice.

**participantCustomerId** `ID`

A customer who takes part in the ticket on any thread, as the customer's legacy id. Requires customers\_read. Null when the view doesn't filter by it.

**query** `[SupportViewTextFilter](/docs/api-reference/v3/reference/support/support-view-text-filter)`

The ticket's text, searched where the view's `queryFields` say. A keyword of the help desk's "Search contains" filter reads as a `query` too; saved back, it also matches the tickets of a customer whose order number it is, as the inbox search does. Null when the view doesn't filter by it.

**fields**

**contains** `String`

The inbox search text. Null when the view doesn't use this operator.

**exact** `String`

A phrase the tickets have, word for word. Null when the view doesn't use this operator.

**notContains** `String`

Words the tickets don't have. Null when the view doesn't use this operator.

**sentMessages** `[SupportViewNumberFilter](/docs/api-reference/v3/reference/support/support-view-number-filter)`

How many messages team members wrote on the ticket. Null when the view doesn't filter by it.

**fields**

**gt** `Float`

Greater than this value. Null when there is no such bound.

**gte** `Float`

At least this value. Null when there is no such bound.

**lt** `Float`

Less than this value. Null when there is no such bound.

**lte** `Float`

At most this value. Null when there is no such bound.

**status** `[SupportViewStatusFilter](/docs/api-reference/v3/reference/support/support-view-status-filter)`

The ticket's status. Null when the view doesn't filter by it.

**fields**

**anyOf** `[\[SupportTicketStatus!\]](/docs/api-reference/v3/reference/support/support-ticket-status)`

One of these statuses. Null when the view doesn't use this operator.

**noneOf** `[\[SupportTicketStatus!\]](/docs/api-reference/v3/reference/support/support-ticket-status)`

None of these statuses. Null when the view doesn't use this operator.

**tagId** `[SupportViewIdListFilter](/docs/api-reference/v3/reference/support/support-view-id-list-filter)`

The ticket's tags. Null when the view doesn't filter by it.

**fields**

**allOf** `[ID!]`

Has every one of these ids. Null when the view doesn't use this operator.

**anyOf** `[ID!]`

Has at least one of these ids. Null when the view doesn't use this operator.

**noneOf** `[ID!]`

Has none of these ids. Null when the view doesn't use this operator.

**unread** `Boolean`

True: tickets with a customer message the team has not read yet. False: the others. Null when the view doesn't filter by it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.