---
title: "Get the data for the given list of widgets."
method: POST
path: "/builder/widget/multi-data"
tags: ["BUILDER"]
---

# Get the data for the given list of widgets.

`POST /builder/widget/multi-data`

## Request body

- CustomWidget[]
  - `builderConfig` unknown
  - `builderId` integer
  - `builderMetaData` WidgetMetaData — WidgetMetaData contains the metadata of the widget. It contains the details like chart type, group name, chart configuration, color scheme, etc.
    - `chartType` string
    - `colorScheme` string
    - `default_key` string
    - `description` string
    - `display_preference` string
    - `expanedLegendColumns` string[]
    - `group_name` string
    - `group_order` integer
    - `is_default` boolean
    - `legendType` string
    - `lineStroke` string
    - `lineStyle` string
    - `pieChartComparisonType` 'concentric' | 'side_by_side'
    - `textChart` TextChartConfig — TextChartConfig holds the markdown content and display settings (font size, color, alignment) for a text chart widget.
      - `alignment` string
      - `color` string
      - `fontSize` integer
      - `markdown` string
    - `yAxisAlwaysIncludeZero` boolean
    - `yAxisMax` integer
    - `yAxisMin` integer
    - `yAxisType` string
  - `builderViewOptions` BuilderViewOptions — BuilderViewOptions represents the entities with which the widget is associated.
    - `displayScope` string
    - `report` Report — ReportView represents the report or dashboard with which the widget is associated.
      - `metadata` object
      - `reportDescription` string
      - `reportId` integer
      - `reportKey` string
      - `reportName` string
    - `resource` Resource — Resource represents the resource of the widget with which it is associated.
      - `name` string
  - `description` string
  - `keepOldData` boolean — KeepOldData note: do not use KeepOldData as this is deprecated, this will be only used in ai module till the changes are made.
  - `key` string
  - `label` string
  - `layout` LayoutItem — LayoutItem represents the layout of the widget in the dashboard view.
    - `_scope_id` integer
    - `h` integer
    - `resizeHandles` string[]
    - `w` integer
    - `x` integer
    - `y` integer
  - `params` RequestParam[]
    - `key` string
    - `value` unknown
  - `returnOnlyFormulaResult` boolean — Specifically for alerts module, where only the result of the formula needs to be returned
  - `scopeId` integer
  - `useV2` boolean — UseV2 indicates if the request should return result in v2 format
  - `widgetAppId` integer

## Response `200`

OK

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/middleware/apis/middleware-api.md) · [All operations](https://skmtc.net/middleware/apis/middleware-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/middleware/middleware-api/revisions/614091456d31/schema)
