Skip to main content

Run an ad hoc Workflow Analytics report.

POST/api/v1/analytics-views/executeanalytics:read

The report is defined in the body and answers its charts (data series and Gantt items), not an execution table.

Scopeanalytics:read
AsynchronousNo
MCP toolexecute_analytics_views
Portal permissionsrun_reports

Parameters​

NameInTypeRequiredDescription
Docwize-Versionheaderstring (date)Optional

Request body​

Content typeType
application/jsonAnalyticsReportExecuteInput

Responses​

StatusDescriptionBody
200Success.application/json object
400invalid_version, malformed_jsonapplication/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
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
bodyanyRequired
formatstringRequired
format_versionintegerRequired

Errors​

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

Schemas​

AnalyticsReportChartInput​

FieldTypeRequiredDescription
chart_keystringOptionalThe Workflow Analytics chart to run.
group_bystring or nullOptional

AnalyticsReportExecuteInput​

FieldTypeRequiredDescription
additional_filtersobject or nullOptionalformat analytics_report_filters: an object of extra filters.
assignee_idsarray of stringOptional
chartsarray of AnalyticsReportChartInputOptional
creator_idsarray of stringOptional
date_fromstring (date) or nullOptional
date_tostring (date) or nullOptional
gantt_limitinteger or nullOptional
include_ganttbooleanOptional
scope_allbooleanOptional
template_idsarray of stringOptional