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.
| Scope | analytics:read |
| Asynchronous | No |
| MCP tool | execute_analytics_views |
| Portal permissions | run_reports |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Docwize-Version | header | string (date) | Optional |
Request body
| Content type | Type |
|---|---|
application/json | AnalyticsReportExecuteInput |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json object |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
200 body
| Field | Type | Required | Description |
|---|---|---|---|
body | any | Required | |
format | string | Required | |
format_version | integer | Required |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
AnalyticsReportChartInput
| Field | Type | Required | Description |
|---|---|---|---|
chart_key | string | Optional | The Workflow Analytics chart to run. |
group_by | string or null | Optional |
AnalyticsReportExecuteInput
| Field | Type | Required | Description |
|---|---|---|---|
additional_filters | object or null | Optional | format analytics_report_filters: an object of extra filters. |
assignee_ids | array of string | Optional | |
charts | array of AnalyticsReportChartInput | Optional | |
creator_ids | array of string | Optional | |
date_from | string (date) or null | Optional | |
date_to | string (date) or null | Optional | |
gantt_limit | integer or null | Optional | |
include_gantt | boolean | Optional | |
scope_all | boolean | Optional | |
template_ids | array of string | Optional |