# <a id="bitdrift.public.unary.dashboards.v1.GetChartsDataRequest"></a>GetChartsDataRequest

**Source definition:** [`src/bitdrift/public/unary/dashboards/v1/api.proto#L166-L181`](<https://github.com/bitdriftlabs/api/blob/main/src/bitdrift/public/unary/dashboards/v1/api.proto#L166-L181>)

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| charts | <span class="proto-type proto-type-message">array of [<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">unary</i><i class="proto-type-dot">.</i><i class="proto-type-part">dashboards</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">ChartRequest</i>](bitdrift_public_unary_dashboards_v1_ChartRequest.md "bitdrift.public.unary.dashboards.v1.ChartRequest")</span><br><em class="proto-field-annotation">between 1 and 100 items</em> | List of all charts to fetch data for. |
| time_range | <span class="proto-type proto-type-message">[<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">unary</i><i class="proto-type-dot">.</i><i class="proto-type-part">common</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">TimeRange</i>](bitdrift_public_unary_common_v1_TimeRange.md "bitdrift.public.unary.common.v1.TimeRange")</span> |  |
| platform_filter | <span class="proto-type proto-type-message">array of [<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">shared</i><i class="proto-type-dot">.</i><i class="proto-type-part">platform</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">Platform</i>](bitdrift_public_shared_platform_v1_Platform.md "bitdrift.public.shared.platform.v1.Platform")</span><br><em class="proto-field-annotation">up to 25 items</em> | If this is empty, the platform filter for the workflow backing each chart will be used. |
| and_filter | <span class="proto-type proto-type-message">[<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">shared</i><i class="proto-type-dot">.</i><i class="proto-type-part">workflows</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">AndFilter</i>](bitdrift_public_shared_workflows_v1_AndFilter.md "bitdrift.public.shared.workflows.v1.AndFilter")</span> | Optional filter to apply on top of the platform filter. This filter is  combined with the platform filter using a logical AND. |

</section>
<p class="h4">Example</p>
```json
{
  "and_filter": {
    "filter": [
      {
        "name": "name",
        "value": "value"
      }
    ]
  },
  "charts": [
    {
      "chart_id": {
        "workflow": {
          "aggregated_action_id": "count/fkQ1PfAZhdYvJexzY6DYuoYCZTEaWO0Y7spxwjr7akc",
          "chart_rule_id": "_i1yUnHjKfmWpCaD5Tazo",
          "workflow_id": "DFg5"
        }
      },
      "counter_configuration": {
        "aggregation_type": "SUM"
      },
      "histogram_configuration": {
        "percentile": 1.0,
        "percentiles": [
          1.0
        ]
      },
      "insight_comparison_configuration": {
        "lhs_id": "count/fkQ1PfAZhdYvJexzY6DYuoYCZTEaWO0Y7spxwjr7akc",
        "rhs_id": "count/fkQ1PfAZhdYvJexzY6DYuoYCZTEaWO0Y7spxwjr7akc"
      },
      "limit_strategy": {
        "exclusions": {
          "dimension_identifiers": [
            {
              "id": "time_series_id_opaque_example",
              "labels": [
                {
                  "name": "name",
                  "value": "value"
                }
              ]
            }
          ],
          "return_other": false
        },
        "sort_order": "MAX",
        "top_k_limit": {
          "top_k": 5
        }
      },
      "rate_configuration": {
        "aggregation_type": "AVG"
      },
      "sankey_configuration": {
        "compaction_target": 1,
        "top_k_paths": 1
      },
      "time_series_display_mode": {}
    }
  ],
  "platform_filter": [
    {
      "apple": {
        "apps": [
          {
            "app_id": "com.example.app"
          }
        ]
      }
    }
  ],
  "time_range": {
    "relative_time_range": {
      "duration": "3600s",
      "offset": "3600s"
    }
  }
}
```

