listViews

View as Markdown

List views accessible to the current user.

Returns all views accessible to the current user for a given component type. Use this to discover available views before calling listRequests with a view_name. Each view has a reference_key — use this as the view_name parameter in listRequests.

Parameters

NameTypeRequiredDescription
componentREQUEST | ASSET | CHANGE | APPROVALNoThe component type to list views for (default REQUEST) Default: REQUEST.
workspace_idintegerNoInclude workspace-scoped and user-saved views for this workspace (built-in defaults are always returned)