Skip to navigation

Manage the Saved views that your team shares in the dashboard. A saved view belongs to one dataset. The built-in views, such as All conversations, are not saved views, and these commands do not list them.

Commands

CommandWhat it does
saved-views listLists the saved views of one dataset.
saved-views createCreates a saved view with a name and a set of filters.
saved-views update <id>Renames a saved view, or replaces its filters.
saved-views delete <id>Deletes a saved view for the whole team.

Examples

List the saved views of the Conversations page:

adacli acme saved-views list --dataset conversations

Create a view of the conversations with a positive CSAT:

adacli acme saved-views create --dataset conversations --name "Happy end users" \
--filters '[{"type":"CSATSCORE","operator":"IS","value":["ispositive"]}]'

Rename a saved view:

adacli acme saved-views update <view-id> --name "Happy end users (EMEA)"

Details

  • --dataset takes conversations, knowledge, playbooks, tools, or metrics. Home, Conversations, and the Analytics pages share the conversations views.
  • The name of a view must be unique in its dataset.
  • --filters takes a JSON array, in the format that the dashboard saves. To see the format, run saved-views list --json.
  • update --filters replaces all the filters of the view.
  • delete removes the view for every user.

For every option of a command, run it with --help, for example adacli acme saved-views create --help.

  • conversations: search conversations with filters from the command line.
  • analytics: read the metrics that the Analytics pages show.