Skip to main content

List the analytics views the caller can see.

GET/api/v1/analytics-viewsanalytics:read

Views the caller created, public views, and views shared with the caller or one of their groups.

Scopeanalytics:read
AsynchronousNo
MCP toollist_analytics_views
Portal permissionsview_report_views
Pagingkeyset
Default orderanalytics_view_id
Sort fieldsanalytics_view_id

Parameters​

NameInTypeRequiredDescription
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of AnalyticsViewRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

AnalyticsView​

FieldTypeRequiredDescription
analytics_view_idstringRequired
chart_configsarray of AnalyticsViewChartConfigRequired
custom_field_idsarray of stringRequiredtemplate:field pairs of the custom-field grid columns the view shows.
descriptionstring or nullRequired
dynamic_filter_defsarray of AnalyticsViewDynamicFilterRequired
is_publicbooleanRequired
namestringRequired
sharesarray of AnalyticsViewShareRequired
static_filtersobject or nullRequiredformat analytics_view_filters: the fixed filters, or null.

AnalyticsViewChartConfig​

FieldTypeRequiredDescription
chart_keystringRequiredThe Workflow Analytics chart this entry shows.
custom_field_idstring or nullRequired
custom_field_template_idstring or nullRequiredThe custom-field grid's template, when the chart groups by a grid column.
group_bystring or nullRequired
titlestring or nullRequired

AnalyticsViewDynamicFilter​

FieldTypeRequiredDescription
additional_fieldsarray of stringRequired
fieldstringRequired
filter_keystringRequiredThe filter's key within the view.
labelstringRequired
operatorstringRequired
value_editor_typestringRequiredtext, date, number or select.

AnalyticsViewShare​

FieldTypeRequiredDescription
group_idstring or nullRequiredThe group the view is shared with (share_type group).
share_typestringRequireduser or group.
user_idstring or nullRequiredThe user the view is shared with (share_type user).