Key Concepts
- Filters — The same vocabulary as
POST /chat/sessions/filter, ANDed together. A view with no filters covers every session - Live evaluation — A view is re-run every time it is opened, so two filters only saved views have are worth knowing: the
$current_userassignee token resolves to whoever opens the view, anddate.preset(today,last_3_days,last_7_days) is a rolling window, not the day the view was saved - Sharing — Leave both share lists empty for an organization-wide view; name users and/or teams to restrict it; pass only your own user id to keep it private. The
visibilityfield reports which of the three applies - Permissions — Anyone who can write sessions can save a view for themselves. Sharing one with other people needs the shared-views permission; without it a created view is silently locked to its creator.
can_editandcan_deleteon every view say what the caller may do to it - Advanced views — A view built in the dashboard with OR groups or excluded clauses reads back with
advanced: trueandfilters: null, because this API models a single set of ANDed filters. Its sort and grouping are still editable; sendingfiltersreplaces the whole saved query
Available Endpoints
List Inbox Views
List the saved views the caller can see
Create Inbox View
Save a new filtered view and share it
Update Inbox View
Change a view’s name, filters, sorting, or sharing
Delete Inbox View
Remove a saved view
Filter Chat Sessions
Run the same filters as a one-off search