---
type: api
title: Update visualization
description: Replaces the full configuration of an existing Lens visualization. Partial updates are not supported.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v0/operation/operation-upsert-visualization
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v0/operation/operation-upsert-visualization
products:
  - Kibana
---

# Update visualization

Availability: 9.5+

- Server: `https://{kibana_url}`

## Paths

- `PUT` `/api/visualizations/{id}`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v0/authentication#apikeyauth)
- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v0/authentication#basicauth)

#### Path Parameters

- `id` (string)
  The visualization identifier, as returned by the create or search endpoints.

## Description

Replaces the full configuration of an existing Lens visualization. Partial updates are not supported.
To make incremental changes, retrieve the visualization first, modify the fields you need, then send the complete object back.

If no visualization exists with the specified ID, a new one is created.

ES|QL visualizations cannot be updated through this endpoint.

## Request Body

`application/json`

Any of:
- **Kibana_HTTP_APIs_metricLibItemNoESQL**
  - `breakdown_by` (union anyOf) — optional
    - **Kibana_HTTP_APIs_visDateHistogramOperation**
      - `collapse_by` (union) — optional
        Aggregation function used to collapse a breakdown dimension into a single value.
        Values: `avg`, `sum`, `max`, `min`
      - `columns` (number · default: 3) — optional
        Number of columns.
      - `drop_partial_intervals` (boolean · default: false) — optional
        When `true`, drops partial intervals from the results.
      - `field` (string) — required
        Field to be used for the date histogram.
      - `include_empty_rows` (boolean · default: true) — optional
        When `true`, includes empty rows in the results.
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `date_histogram`
      - `suggested_interval` (string · default: auto) — optional
        Suggested time interval.
      - `use_original_time_range` (boolean · default: false) — optional
        When `true`, uses the original time range instead of the current query time range.
    - **Kibana_HTTP_APIs_visTermsOperation**
      - `collapse_by` (union) — optional
        Aggregation function used to collapse a breakdown dimension into a single value.
        Values: `avg`, `sum`, `max`, `min`
      - `columns` (number · default: 3) — optional
        Number of columns.
      - `excludes` (object) — optional
        - `as_regex` (boolean) — optional
          When `true`, treats the values as regular expressions.
        - `values` (union [] string | [] number) — required
          Values to exclude.
      - `fields` ([] string · min: 1 · max: 4) — required
      - `format` (union) — optional
        Number display format for the dimension value.
        - **Kibana_HTTP_APIs_visNumericFormat**
          Number or percentage format with optional decimal places, suffix, and compact notation.
          - `compact` (boolean · default: false) — optional
            When `true`, uses compact notation (for example, 1.2k instead of 1,200). Defaults to `false`.
          - `decimals` (number · default: 2) — optional
            Number of decimal places to display.
          - `suffix` (string) — optional
            Suffix appended to the formatted value.
          - `type` (enum) — required
            Value format type: `number` for plain numbers, `percent` for percentages.
            Values: `number`, `percent`
        - **Kibana_HTTP_APIs_visByteFormat**
          Data size format in bits or bytes, with optional decimal places and suffix.
          - `decimals` (number · default: 2) — optional
            Number of decimal places to display.
          - `suffix` (string) — optional
            Suffix appended to the formatted value.
          - `type` (enum) — required
            Data size unit: `bits` or `bytes`.
            Values: `bits`, `bytes`
        - **Kibana_HTTP_APIs_visDurationFormat**
          Duration format between time units.
          - `compact` (boolean) — optional
            When `true`, uses short unit suffixes (for example, `ms` instead of `Milliseconds`). Defaults to `true`. Ignored for `auto-approximate`.
          - `decimals` (number) — optional
            Number of decimal places to display. Defaults to `0`. Ignored for `auto-approximate`.
          - `from` (enum) — required
            Source time unit of the raw field value, including fine-grained units (`ps`, `ns`, `us`) in addition to standard units. This describes how the stored data is encoded, not a query duration literal.
            Values: `ps`, `ns`, `us`, `ms`, `s`, `min`, `h`, `d`, `w`, `mo`, `y`
          - `suffix` (string) — optional
            Suffix appended to the formatted value.
          - `to` (enum) — required
            Display time unit: `auto` (precise), `auto-approximate`, or a fixed conversion unit.
            Values: `auto`, `auto-approximate`, `ms`, `s`, `min`, `h`, `d`, `w`, `mo`, `y`
          - `type` (enum) — required
            Values: `duration`
        - **Kibana_HTTP_APIs_visCustomFormat**
          Custom format using a Kibana field format pattern string.
          - `pattern` (string) — required
            Kibana field format pattern string.
          - `type` (enum) — required
            Values: `custom`
      - `includes` (object) — optional
        - `as_regex` (boolean) — optional
          When `true`, treats the values as regular expressions.
        - `values` (union [] string | [] number) — required
          Values to include.
      - `increase_accuracy` (boolean) — optional
        When `true`, increases accuracy at the cost of performance.
      - `label` (string) — optional
        Label for the operation
      - `limit` (number · default: 5) — optional
        Number of terms to return.
      - `operation` (enum) — required
        Values: `terms`
      - `other_bucket` (object) — optional
        - `include_documents_without_field` (boolean) — required
          When `true`, includes documents that do not have the specified field.
      - `rank_by` (union anyOf) — optional
        - **Kibana_HTTP_APIs_visTermsRankByAlphabetical**
          Terms ranked alphabetically.
          - `direction` (enum) — required
            Direction
            Values: `asc`, `desc`
          - `type` (enum) — required
            Values: `alphabetical`
        - **Kibana_HTTP_APIs_visTermsRankByRare**
          Terms ranked by rarity.
          - `max` (number) — required
            Maximum number of rare terms to include.
          - `type` (enum) — required
            Values: `rare`
        - **Kibana_HTTP_APIs_visTermsRankBySignificant**
          Terms ranked by significance.
          - `type` (enum) — required
            Values: `significant`
        - **Kibana_HTTP_APIs_visTermsRankByMetric**
          Terms ranked by a linked metric.
          - `direction` (enum) — required
            Direction
            Values: `asc`, `desc`
          - `metric_index` (number · min: 0 · default: 0) — optional
            Zero-based index into the metrics array identifying which metric to rank by.
          - `type` (enum) — required
            Values: `metric`
        - **Kibana_HTTP_APIs_visTermsRankByCustomOperation**
          Terms ranked by custom operation.
          - `direction` (enum) — required
            Direction
            Values: `asc`, `desc`
          - `field` (string) — required
            Numeric field to be used for the custom operation.
          - `operation` (enum) — required
            Values: `min`, `max`, `average`, `median`, `standard_deviation`, `unique_count`, `sum`, `last_value`
          - `type` (enum) — required
            Values: `custom`
        - **Kibana_HTTP_APIs_visTermsRankByCustomCountOperation**
          Terms ranked by count, either of all documents or of a specific field.
          - `direction` (enum) — required
            Direction
            Values: `asc`, `desc`
          - `field` (string) — optional
            Numeric field to be used for the custom operation.
          - `operation` (enum) — required
            Values: `count`
          - `type` (enum) — required
            Values: `custom`
        - **Kibana_HTTP_APIs_visTermsRankByPercentileOperation**
          Terms ranked by a percentile of a numeric field, for example the 95th percentile of response time.
          - `direction` (enum) — required
            Direction
            Values: `asc`, `desc`
          - `field` (string) — required
            Numeric field to be used for the custom operation.
          - `operation` (enum) — required
            Values: `percentile`
          - `percentile` (number · default: 95) — optional
            The percentile threshold (0–100) at which to compute the field value used for ranking terms.
          - `type` (enum) — required
            Values: `custom`
        - **Kibana_HTTP_APIs_visTermsRankByPercentileRankOperation**
          Terms ranked by the percentile rank of a single value: the proportion of field values at or below that value.
          - `direction` (enum) — required
            Direction
            Values: `asc`, `desc`
          - `field` (string) — required
            Numeric field to be used for the custom operation.
          - `operation` (enum) — required
            Values: `percentile_rank`
          - `rank` (number · default: 0) — optional
            The numeric value for which to compute the percentile rank (the percentage of field values at or below this value).
          - `type` (enum) — required
            Values: `custom`
    - **Kibana_HTTP_APIs_visHistogramOperation**
      - `collapse_by` (union) — optional
        Aggregation function used to collapse a breakdown dimension into a single value.
        Values: `avg`, `sum`, `max`, `min`
      - `columns` (number · default: 3) — optional
        Number of columns.
      - `field` (string) — required
        Field to be used for the histogram.
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `granularity` (union number | enum · default: auto) — optional
        Values: `auto`
      - `include_empty_rows` (boolean · default: true) — optional
        When `true`, includes empty rows in the results.
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `histogram`
    - **Kibana_HTTP_APIs_visRangesOperation**
      - `collapse_by` (union) — optional
        Aggregation function used to collapse a breakdown dimension into a single value.
        Values: `avg`, `sum`, `max`, `min`
      - `columns` (number · default: 3) — optional
        Number of columns.
      - `field` (string) — required
        Field to be used for the range.
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `range`
      - `ranges` ([] object · max: 100) — required
        - `gt` (number) — optional
          Greater than.
        - `label` (string) — optional
          Label.
        - `lte` (number) — optional
          Less than or equal to.
    - **Kibana_HTTP_APIs_visFiltersOperation**
      - `collapse_by` (union) — optional
        Aggregation function used to collapse a breakdown dimension into a single value.
        Values: `avg`, `sum`, `max`, `min`
      - `columns` (number · default: 3) — optional
        Number of columns.
      - `filters` ([] object · max: 100) — required
        - `filter` ({}) — required
          A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
          - `expression` (string) — required
            A query expression in KQL or Lucene syntax
          - `language` (enum  · default: kql) — optional
            Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
            Values: `kql`, `lucene`
        - `label` (string) — optional
          Label for the filter
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `filters`
  - `data_source` (union oneOf) — required
    - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
      - `ref_id` (string) — required
        The id of the Kibana data view to use as the data source. Example: "my-data-view".
      - `type` (enum) — required
        Values: `data_view_reference`
    - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
      - `allow_hidden_indices` (boolean) — optional
        When `true`, allows the data view to match hidden indices.
      - `field_filters` ([] object · max: 10000) — optional
        Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
      - `field_settings` (map string to object) — optional
      - `index_pattern` (string · min: 1) — required
        The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
      - `name` (string · min: 1 · max: 256) — optional
        The name of the data view. Example: "Sample data view".
      - `time_field` (string) — optional
        The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
      - `type` (enum) — required
        Values: `data_view_spec`
  - `description` (string) — optional
    The description of the chart. Optional. Any string value or undefined.
  - `filters` ([] object · max: 100) — optional
    Filters applied to the panel
  - `ignore_global_filters` (boolean · default: false) — optional
    When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
  - `metrics` ([] union anyOf · min: 1 · max: 2) — required
    Metric dimensions to display. The first must be a primary metric; an optional second must be a secondary metric.
    - **type: primary**
      - `apply_color_to` (enum) — optional
        Color target: `value` colors the metric text, `background` colors the cell or panel background.
        Values: `value`, `background`
      - `background_chart` (union) — optional
        Secondary visualization displayed behind the primary metric value, either a bar chart (with optional max value) or a trend line.
        - **type: bar**
          - `max_value` (union anyOf) — required
            Metric dimension configuration, supporting field-based aggregations (count, sum, average, median, standard deviation, unique count, last value), percentile operations, time-series operations (differences, moving average, cumulative sum, counter rate), and mathematical formulas.
            - **Kibana_HTTP_APIs_visFormulaOperation**
              - `filter` ({}) — optional
                A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
                - `expression` (string) — required
                  A query expression in KQL or Lucene syntax
                - `language` (enum  · default: kql) — optional
                  Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
                  Values: `kql`, `lucene`
              - `format` (union) — optional
                Number display format for the dimension value.
                Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
              - `formula` (string) — required
                Formula
              - `label` (string) — optional
                Label for the operation
              - `operation` (enum) — required
                Values: `formula`
              - `reduced_time_range` (string) — optional
                Reduced time range
              - `time_scale` (enum) — optional
                Time scale
                Values: `s`, `m`, `h`, `d`
            - **Kibana_HTTP_APIs_visStaticOperationDefinition**
              - `format` (union) — optional
                Number display format for the dimension value.
                Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
              - `label` (string) — optional
                Label for the operation
              - `operation` (enum) — required
                Values: `static_value`
              - `value` (number · default: 100) — optional
                Static value
            - **Kibana_HTTP_APIs_visFieldMetricOperations**
            - **Kibana_HTTP_APIs_visDifferencesOperation**
              - `filter` ({}) — optional
                A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
                - `expression` (string) — required
                  A query expression in KQL or Lucene syntax
                - `language` (enum  · default: kql) — optional
                  Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
                  Values: `kql`, `lucene`
              - `format` (union) — optional
                Number display format for the dimension value.
                Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
              - `label` (string) — optional
                Label for the operation
              - `of` (union) — required
                - **Kibana_HTTP_APIs_visCountMetricOperation**
                  - `empty_as_null` (boolean · default: false) — optional
                    When `true`, treats empty buckets as null instead of zero.
                  - `field` (string) — optional
                    Field to be used for the metric
                  - `filter` ({}) — optional
                    A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
                    - `expression` (string) — required
                      A query expression in KQL or Lucene syntax
                    - `language` (enum  · default: kql) — optional
                      Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
                      Values: `kql`, `lucene`
                  - `format` (union) — optional
                    Number display format for the dimension value.
                    Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
                  - `label` (string) — optional
                    Label for the operation
                  - `operation` (enum) — required
                    Values: `count`
                  - `reduced_time_range` (string) — optional
                    Reduced time range
                  - `time_scale` (union) — optional
                    Time scale
                    Values: `s`, `m`, `h`, `d`
                  - `time_shift` (string) — optional
                    Time shift
                - **Kibana_HTTP_APIs_visUniqueCountMetricOperation**
                  - `empty_as_null` (boolean · default: false) — optional
                    When `true`, treats empty buckets as null instead of zero.
                  - `field` (string) — required
                    Field to be used for the metric
                  - `filter` ({}) — optional
                    A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
                    - `expression` (string) — required
                      A query expression in KQL or Lucene syntax
                    - `language` (enum  · default: kql) — optional
                      Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
                      Values: `kql`, `lucene`
                  - `format` (union) — optional
                    Number display format for the dimension value.
                    Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
                  - `label` (string) — optional
                    Label for the operation
                  - `operation` (enum) — required
                    Values: `unique_count`
                  - `reduced_time_range` (string) — optional
                    Reduced time range
                  - `time_scale` (union) — optional
                    Time scale
                    Values: `s`, `m`, `h`, `d`
                  - `time_shift` (string) — optional
                    Time shift
                - **Kibana_HTTP_APIs_visMinMaxAvgMedianStdDevMetricOperation**
                  - `field` (string) — required
                    Field to be used for the metric
                  - `filter` ({}) — optional
                    A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
                    - `expression` (string) — required
                      A query expression in KQL or Lucene syntax
                    - `language` (enum  · default: kql) — optional
                      Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
                      Values: `kql`, `lucene`
                  - `format` (union) — optional
                    Number display format for the dimension value.
                    Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
                  - `label` (string) — optional
                    Label for the operation
                  - `operation` (enum) — required
                    Values: `min`, `max`, `average`, `median`, `standard_deviation`
                  - `reduced_time_range` (string) — optional
                    Reduced time range
                  - `time_scale` (union) — optional
                    Time scale
                    Values: `s`, `m`, `h`, `d`
                  - `time_shift` (string) — optional
                    Time shift
                - **Kibana_HTTP_APIs_visSumMetricOperation**
                  - `empty_as_null` (boolean · default: false) — optional
                    When `true`, treats empty buckets as null instead of zero.
                  - `field` (string) — required
                    Field to be used for the metric
                  - `filter` ({}) — optional
                    A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
                    - `expression` (string) — required
                      A query expression in KQL or Lucene syntax
                    - `language` (enum  · default: kql) — optional
                      Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
                      Values: `kql`, `lucene`
                  - `format` (union) — optional
                    Number display format for the dimension value.
                    Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
                  - `label` (string) — optional
                    Label for the operation
                  - `operation` (enum) — required
                    Values: `sum`
                  - `reduced_time_range` (string) — optional
                    Reduced time range
                  - `time_scale` (union) — optional
                    Time scale
                    Values: `s`, `m`, `h`, `d`
                  - `time_shift` (string) — optional
                    Time shift
                - **Kibana_HTTP_APIs_visLastValueOperation**
                  - `field` (string) — required
                    Field to be used for the metric
                  - `filter` ({}) — optional
                    A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
                    - `expression` (string) — required
                      A query expression in KQL or Lucene syntax
                    - `language` (enum  · default: kql) — optional
                      Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
                      Values: `kql`, `lucene`
                  - `format` (union) — optional
                    Number display format for the dimension value.
                    Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
                  - `label` (string) — optional
                    Label for the operation
                  - `multi_value` (boolean · default: false) — optional
                    Whether to return all values for multi-value fields. Only affects data table and metric charts; other charts use the last value from the array.
                  - `operation` (enum) — required
                    Values: `last_value`
                  - `reduced_time_range` (string) — optional
                    Reduced time range
                  - `time_field` (string) — required
                    Time field used to determine document recency
                  - `time_scale` (union) — optional
                    Time scale
                    Values: `s`, `m`, `h`, `d`
                  - `time_shift` (string) — optional
                    Time shift
                - **Kibana_HTTP_APIs_visPercentileOperation**
                  - `field` (string) — required
                    Field to be used for the metric
                  - `filter` ({}) — optional
                    A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
                    - `expression` (string) — required
                      A query expression in KQL or Lucene syntax
                    - `language` (enum  · default: kql) — optional
                      Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
                      Values: `kql`, `lucene`
                  - `format` (union) — optional
                    Number display format for the dimension value.
                    Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
                  - `label` (string) — optional
                    Label for the operation
                  - `operation` (enum) — required
                    Values: `percentile`
                  - `percentile` (number · default: 95) — optional
                    Percentile
                  - `reduced_time_range` (string) — optional
                    Reduced time range
                  - `time_scale` (union) — optional
                    Time scale
                    Values: `s`, `m`, `h`, `d`
                  - `time_shift` (string) — optional
                    Time shift
                - **Kibana_HTTP_APIs_visPercentileRanksOperation**
                  - `field` (string) — required
                    Field to be used for the metric
                  - `filter` ({}) — optional
                    A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
                    - `expression` (string) — required
                      A query expression in KQL or Lucene syntax
                    - `language` (enum  · default: kql) — optional
                      Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
                      Values: `kql`, `lucene`
                  - `format` (union) — optional
                    Number display format for the dimension value.
                    Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
                  - `label` (string) — optional
                    Label for the operation
                  - `operation` (enum) — required
                    Values: `percentile_rank`
                  - `rank` (number · default: 0) — optional
                    Percentile Rank
                  - `reduced_time_range` (string) — optional
                    Reduced time range
                  - `time_scale` (union) — optional
                    Time scale
                    Values: `s`, `m`, `h`, `d`
                  - `time_shift` (string) — optional
                    Time shift
              - `operation` (enum) — required
                Values: `differences`
              - `reduced_time_range` (string) — optional
                Reduced time range
              - `time_scale` (union) — optional
                Time scale
                Values: `s`, `m`, `h`, `d`
              - `time_shift` (string) — optional
                Time shift
            - **Kibana_HTTP_APIs_visMovingAverageOperation**
              - `filter` ({}) — optional
                A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
                - `expression` (string) — required
                  A query expression in KQL or Lucene syntax
                - `language` (enum  · default: kql) — optional
                  Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
                  Values: `kql`, `lucene`
              - `format` (union) — optional
                Number display format for the dimension value.
                Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
              - `label` (string) — optional
                Label for the operation
              - `of` (union) — required
                Same options as `of` in `Kibana_HTTP_APIs_visDifferencesOperation`
              - `operation` (enum) — required
                Values: `moving_average`
              - `reduced_time_range` (string) — optional
                Reduced time range
              - `time_scale` (union) — optional
                Time scale
                Values: `s`, `m`, `h`, `d`
              - `time_shift` (string) — optional
                Time shift
              - `window` (number · default: 5) — optional
                Window
            - **Kibana_HTTP_APIs_visCumulativeSumOperation**
              - `field` (string) — optional
                Field to cumulatively sum. When omitted, cumulative sum is applied to the count of records.
              - `filter` ({}) — optional
                A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
                - `expression` (string) — required
                  A query expression in KQL or Lucene syntax
                - `language` (enum  · default: kql) — optional
                  Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
                  Values: `kql`, `lucene`
              - `format` (union) — optional
                Number display format for the dimension value.
                Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
              - `label` (string) — optional
                Label for the operation
              - `operation` (enum) — required
                Values: `cumulative_sum`
              - `reduced_time_range` (string) — optional
                Reduced time range
              - `time_scale` (union) — optional
                Time scale
                Values: `s`, `m`, `h`, `d`
              - `time_shift` (string) — optional
                Time shift
            - **Kibana_HTTP_APIs_visCounterRateOperation**
              - `field` (string) — required
                Field to be used for the metric
              - `filter` ({}) — optional
                A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
                - `expression` (string) — required
                  A query expression in KQL or Lucene syntax
                - `language` (enum  · default: kql) — optional
                  Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
                  Values: `kql`, `lucene`
              - `format` (union) — optional
                Number display format for the dimension value.
                Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
              - `label` (string) — optional
                Label for the operation
              - `operation` (enum) — required
                Values: `counter_rate`
              - `reduced_time_range` (string) — optional
                Reduced time range
              - `time_scale` (union) — optional
                Time scale
                Values: `s`, `m`, `h`, `d`
              - `time_shift` (string) — optional
                Time shift
            - **Kibana_HTTP_APIs_visCountMetricOperation**
              - `empty_as_null` (boolean · default: false) — optional
                When `true`, treats empty buckets as null instead of zero.
              - `field` (string) — optional
                Field to be used for the metric
              - `filter` ({}) — optional
                A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
                - `expression` (string) — required
                  A query expression in KQL or Lucene syntax
                - `language` (enum  · default: kql) — optional
                  Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
                  Values: `kql`, `lucene`
              - `format` (union) — optional
                Number display format for the dimension value.
                Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
              - `label` (string) — optional
                Label for the operation
              - `operation` (enum) — required
                Values: `count`
              - `reduced_time_range` (string) — optional
                Reduced time range
              - `time_scale` (union) — optional
                Time scale
                Values: `s`, `m`, `h`, `d`
              - `time_shift` (string) — optional
                Time shift
            - **Kibana_HTTP_APIs_visUniqueCountMetricOperation**
              - `empty_as_null` (boolean · default: false) — optional
                When `true`, treats empty buckets as null instead of zero.
              - `field` (string) — required
                Field to be used for the metric
              - `filter` ({}) — optional
                A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
                - `expression` (string) — required
                  A query expression in KQL or Lucene syntax
                - `language` (enum  · default: kql) — optional
                  Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
                  Values: `kql`, `lucene`
              - `format` (union) — optional
                Number display format for the dimension value.
                Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
              - `label` (string) — optional
                Label for the operation
              - `operation` (enum) — required
                Values: `unique_count`
              - `reduced_time_range` (string) — optional
                Reduced time range
              - `time_scale` (union) — optional
                Time scale
                Values: `s`, `m`, `h`, `d`
              - `time_shift` (string) — optional
                Time shift
            - **Kibana_HTTP_APIs_visLastValueOperation**
              - `field` (string) — required
                Field to be used for the metric
              - `filter` ({}) — optional
                A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
                - `expression` (string) — required
                  A query expression in KQL or Lucene syntax
                - `language` (enum  · default: kql) — optional
                  Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
                  Values: `kql`, `lucene`
              - `format` (union) — optional
                Number display format for the dimension value.
                Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
              - `label` (string) — optional
                Label for the operation
              - `multi_value` (boolean · default: false) — optional
                Whether to return all values for multi-value fields. Only affects data table and metric charts; other charts use the last value from the array.
              - `operation` (enum) — required
                Values: `last_value`
              - `reduced_time_range` (string) — optional
                Reduced time range
              - `time_field` (string) — required
                Time field used to determine document recency
              - `time_scale` (union) — optional
                Time scale
                Values: `s`, `m`, `h`, `d`
              - `time_shift` (string) — optional
                Time shift
            - **Kibana_HTTP_APIs_visPercentileOperation**
              - `field` (string) — required
                Field to be used for the metric
              - `filter` ({}) — optional
                A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
                - `expression` (string) — required
                  A query expression in KQL or Lucene syntax
                - `language` (enum  · default: kql) — optional
                  Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
                  Values: `kql`, `lucene`
              - `format` (union) — optional
                Number display format for the dimension value.
                Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
              - `label` (string) — optional
                Label for the operation
              - `operation` (enum) — required
                Values: `percentile`
              - `percentile` (number · default: 95) — optional
                Percentile
              - `reduced_time_range` (string) — optional
                Reduced time range
              - `time_scale` (union) — optional
                Time scale
                Values: `s`, `m`, `h`, `d`
              - `time_shift` (string) — optional
                Time shift
            - **Kibana_HTTP_APIs_visPercentileRanksOperation**
              - `field` (string) — required
                Field to be used for the metric
              - `filter` ({}) — optional
                A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
                - `expression` (string) — required
                  A query expression in KQL or Lucene syntax
                - `language` (enum  · default: kql) — optional
                  Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
                  Values: `kql`, `lucene`
              - `format` (union) — optional
                Number display format for the dimension value.
                Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
              - `label` (string) — optional
                Label for the operation
              - `operation` (enum) — required
                Values: `percentile_rank`
              - `rank` (number · default: 0) — optional
                Percentile Rank
              - `reduced_time_range` (string) — optional
                Reduced time range
              - `time_scale` (union) — optional
                Time scale
                Values: `s`, `m`, `h`, `d`
              - `time_shift` (string) — optional
                Time shift
          - `orientation` (enum) — optional
            Orientation
            Values: `horizontal`, `vertical`
          - `type` (enum) — required
            Values: `bar`
        - **type: trend**
          - `type` (enum) — required
            Values: `trend`
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color configuration for the primary metric value or background.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visStaticColor**
          Fixed color for all values in the dimension.
          - `color` (string) — required
            The static color to be used for all values.
          - `type` (enum) — required
            Values: `static`
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `subtitle` (string) — optional
        Subtitle below the primary metric value.
      - `type` (enum) — required
        Values: `primary`
    - **type: secondary**
      - `color` (union anyOf · default: {
  "type": "none"
}) — optional
        - **Kibana_HTTP_APIs_visStaticColor**
          Fixed color for all values in the dimension.
          - `color` (string) — required
            The static color to be used for all values.
          - `type` (enum) — required
            Values: `static`
        - **Kibana_HTTP_APIs_visNoColor**
          Explicitly disables coloring
          - `type` (enum) — required
            Values: `none`
      - `compare` (union anyOf) — optional
        Compare the secondary metric to a baseline value or to the primary metric.
        - **Kibana_HTTP_APIs_visMetricCompareToBaseline**
          - `baseline` (number · default: 0) — optional
            Baseline value.
          - `icon` (boolean · default: true) — optional
            When `true`, displays the icon for the secondary value.
          - `palette` (string · default: compare_to) — optional
            Color palette name. Accepted values: 'default', 'elastic_line_optimized', 'severity', 'eui_amsterdam', 'kibana_v7_legacy', 'elastic_brand_2023'. Defaults to `default`.
          - `to` (enum) — required
            Values: `baseline`
          - `value` (boolean · default: true) — optional
            When `true`, displays the secondary value.
        - **Kibana_HTTP_APIs_visMetricCompareToPrimary**
          - `icon` (boolean · default: true) — optional
            When `true`, displays the icon for the secondary value.
          - `palette` (string · default: compare_to) — optional
            Color palette name. Accepted values: 'default', 'elastic_line_optimized', 'severity', 'eui_amsterdam', 'kibana_v7_legacy', 'elastic_brand_2023'. Defaults to `default`.
          - `to` (enum) — required
            Values: `primary`
          - `value` (boolean · default: true) — optional
            When `true`, displays the secondary value.
      - `type` (enum) — required
        Values: `secondary`
  - `query` ({}) — optional
    A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
    - `expression` (string) — required
      A query expression in KQL or Lucene syntax
    - `language` (enum  · default: kql) — optional
      Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
      Values: `kql`, `lucene`
  - `sampling` (number · min: 0 · max: 1 · default: 1) — optional
    Sampling factor between 0 (no sampling) and 1 (full sampling).
  - `styling` ({}) — optional
    Visual chart styling options
    - `density` (enum  · default: default) — optional
      Density preset for the metric chart layout. Use `compact` for a compact layout, or `default` for increased padding, element spacing, and font size.
      Values: `compact`, `default`
    - `icon` ({}) — optional
      Icon configuration for the metric chart
      - `alignment` (enum  · default: right) — optional
        Icon alignment. Accepted values: `left`, `right`. Defaults to `right`.
        Values: `left`, `right`
      - `name` (enum) — required
        Icon name
        Values: `alert`, `asterisk`, `bell`, `bolt`, `bug`, `compute`, `editor_comment`, `flag`, `globe`, `heart`, `map_marker`, `pin`, `sort_down`, `sort_up`, `star_empty`, `tag`, `temperature`
    - `primary` (object) — optional
      - `labels` (object) — optional
        Labels (title and subtitle) configuration
        - `alignment` (enum  · default: left) — optional
          Horizontal alignment for the title and subtitle text. Accepted values: `left`, `center`, `right`. Defaults to `left`.
          Values: `left`, `center`, `right`
      - `position` (enum  · default: bottom) — optional
        Position of the primary metric value (top, middle, or bottom).
        Values: `top`, `middle`, `bottom`
      - `value` (object) — optional
        Primary metric value configuration
        - `alignment` (enum  · default: right) — optional
          Alignment for the primary metric value. Accepted values: `left`, `center`, `right`. Defaults to `right`.
          Values: `left`, `center`, `right`
        - `sizing` (enum  · default: auto) — optional
          Controls how the primary value text is sized within the panel. 'auto' selects a font size from predefined breakpoints based on panel height, then shrinks if the text overflows horizontally. 'fill' scales the text to be as large as possible, filling all available space.
          Values: `auto`, `fill`
    - `secondary` (object) — optional
      - `label` (object) — optional
        - `placement` (enum  · default: before) — optional
          How the secondary metric name is shown: before the value, after the value, or in a tooltip. Ignored when the label is not visible.
          Values: `before`, `after`, `tooltip`
        - `visible` (boolean · default: false) — optional
          When `true`, displays the secondary metric name as its label.
      - `value` (object) — optional
        Secondary metric value configuration
        - `alignment` (enum  · default: right) — optional
          Alignment for secondary values. Accepted values: `left`, `center`, `right`. Defaults to `right`.
          Values: `left`, `center`, `right`
  - `tags` ([] string · max: 1000 · default: []) — optional
    Tag IDs to associate with this visualization.
  - `title` (string) — optional
    The title of the chart displayed in the panel. Optional. Any string value or undefined.
  - `type` (enum) — required
    Values: `metric`
- **Kibana_HTTP_APIs_legacyMetricLibItemNoESQL**
  - `data_source` (union oneOf) — required
    - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
      - `ref_id` (string) — required
        The id of the Kibana data view to use as the data source. Example: "my-data-view".
      - `type` (enum) — required
        Values: `data_view_reference`
    - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
      - `allow_hidden_indices` (boolean) — optional
        When `true`, allows the data view to match hidden indices.
      - `field_filters` ([] object · max: 10000) — optional
        Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
      - `field_settings` (map string to object) — optional
      - `index_pattern` (string · min: 1) — required
        The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
      - `name` (string · min: 1 · max: 256) — optional
        The name of the data view. Example: "Sample data view".
      - `time_field` (string) — optional
        The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
      - `type` (enum) — required
        Values: `data_view_spec`
  - `description` (string) — optional
    The description of the chart. Optional. Any string value or undefined.
  - `filters` ([] object · max: 100) — optional
    Filters applied to the panel
  - `ignore_global_filters` (boolean · default: false) — optional
    When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
  - `metric` (union anyOf) — required
    - **Kibana_HTTP_APIs_visCountMetricOperation**
      - `apply_color_to` (enum) — optional
        Color target: `value` colors the metric text, `background` colors the cell or panel background.
        Values: `value`, `background`
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color configuration based on the metric value.
        - **Kibana_HTTP_APIs_visColorByValueAbsolute**
          Color by absolute value configuration
          - `range` (enum) — required
            Values: `absolute`
          - `steps` ([] object · min: 1 · max: 100) — required
            Array of ordered color steps defining the range each color is applied.
            - `color` (string) — required
              The color to use for this step.
            - `gte` (number) — optional — nullable
              The lower bound of range from which this color applies (inclusive).
            - `lt` (number) — optional — nullable
              The upper bound of range to which this color applies (exclusive).
            - `lte` (number) — optional — nullable
              The upper bound of range to which this color applies (inclusive).
          - `type` (enum) — required
            Values: `dynamic`
        - **Kibana_HTTP_APIs_visColorByValuePalette**
          Color by value using a palette, with colors distributed across the range of values.
          - `palette` (enum) — required
            The name of the palette to apply across the value range.
            Values: `status`, `temperature`, `complementary`, `negative`, `positive`, `cool`, `warm`, `gray`
          - `type` (enum) — required
            Values: `distributed_palette`
        - **Kibana_HTTP_APIs_visLegacyColorByValueAbsolute**
          Legacy color by absolute value configuration
          - `palette` (string) — required
            The legacy palette name.
          - `range` (enum) — required
            Values: `absolute`
          - `shift` (boolean) — required
            When `true`, shifts the palette colors so they start from a different offset. Defaults to `false`.
          - `steps` ([] object · min: 1 · max: 100) — required
            Array of ordered color steps defining the range each color is applied.
            - `color` (string) — required
              The color to use for this step.
            - `gte` (number) — optional — nullable
              The lower bound of range from which this color applies (inclusive).
            - `lt` (number) — optional — nullable
              The upper bound of range to which this color applies (exclusive).
            - `lte` (number) — optional — nullable
              The upper bound of range to which this color applies (inclusive).
          - `type` (enum) — required
            Values: `legacy_dynamic`
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `labels` (object) — optional
        Labels configuration
        - `alignment` (enum  · default: top) — optional
          Label alignment
          Values: `top`, `bottom`
      - `size` (enum  · default: m) — optional
        Font size for the label and value
        Values: `xs`, `s`, `m`, `l`, `xl`, `xxl`
      - `values` (object) — optional
        Values configuration
        - `alignment` (enum  · default: left) — optional
          Value alignment
          Values: `left`, `center`, `right`
      - `empty_as_null` (boolean · default: false) — optional
        When `true`, treats empty buckets as null instead of zero.
      - `field` (string) — optional
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `count`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visUniqueCountMetricOperation**
      - `apply_color_to` (enum) — optional
        Color target: `value` colors the metric text, `background` colors the cell or panel background.
        Values: `value`, `background`
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color configuration based on the metric value.
        Same options as `color` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `labels` (object) — optional
        Labels configuration
        - `alignment` (enum  · default: top) — optional
          Label alignment
          Values: `top`, `bottom`
      - `size` (enum  · default: m) — optional
        Font size for the label and value
        Values: `xs`, `s`, `m`, `l`, `xl`, `xxl`
      - `values` (object) — optional
        Values configuration
        - `alignment` (enum  · default: left) — optional
          Value alignment
          Values: `left`, `center`, `right`
      - `empty_as_null` (boolean · default: false) — optional
        When `true`, treats empty buckets as null instead of zero.
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `unique_count`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visMinMaxAvgMedianStdDevMetricOperation**
      - `apply_color_to` (enum) — optional
        Color target: `value` colors the metric text, `background` colors the cell or panel background.
        Values: `value`, `background`
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color configuration based on the metric value.
        Same options as `color` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `labels` (object) — optional
        Labels configuration
        - `alignment` (enum  · default: top) — optional
          Label alignment
          Values: `top`, `bottom`
      - `size` (enum  · default: m) — optional
        Font size for the label and value
        Values: `xs`, `s`, `m`, `l`, `xl`, `xxl`
      - `values` (object) — optional
        Values configuration
        - `alignment` (enum  · default: left) — optional
          Value alignment
          Values: `left`, `center`, `right`
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `min`, `max`, `average`, `median`, `standard_deviation`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visSumMetricOperation**
      - `apply_color_to` (enum) — optional
        Color target: `value` colors the metric text, `background` colors the cell or panel background.
        Values: `value`, `background`
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color configuration based on the metric value.
        Same options as `color` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `labels` (object) — optional
        Labels configuration
        - `alignment` (enum  · default: top) — optional
          Label alignment
          Values: `top`, `bottom`
      - `size` (enum  · default: m) — optional
        Font size for the label and value
        Values: `xs`, `s`, `m`, `l`, `xl`, `xxl`
      - `values` (object) — optional
        Values configuration
        - `alignment` (enum  · default: left) — optional
          Value alignment
          Values: `left`, `center`, `right`
      - `empty_as_null` (boolean · default: false) — optional
        When `true`, treats empty buckets as null instead of zero.
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `sum`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visLastValueOperation**
      - `apply_color_to` (enum) — optional
        Color target: `value` colors the metric text, `background` colors the cell or panel background.
        Values: `value`, `background`
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color configuration based on the metric value.
        Same options as `color` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `labels` (object) — optional
        Labels configuration
        - `alignment` (enum  · default: top) — optional
          Label alignment
          Values: `top`, `bottom`
      - `size` (enum  · default: m) — optional
        Font size for the label and value
        Values: `xs`, `s`, `m`, `l`, `xl`, `xxl`
      - `values` (object) — optional
        Values configuration
        - `alignment` (enum  · default: left) — optional
          Value alignment
          Values: `left`, `center`, `right`
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `multi_value` (boolean · default: false) — optional
        Whether to return all values for multi-value fields. Only affects data table and metric charts; other charts use the last value from the array.
      - `operation` (enum) — required
        Values: `last_value`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_field` (string) — required
        Time field used to determine document recency
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visPercentileOperation**
      - `apply_color_to` (enum) — optional
        Color target: `value` colors the metric text, `background` colors the cell or panel background.
        Values: `value`, `background`
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color configuration based on the metric value.
        Same options as `color` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `labels` (object) — optional
        Labels configuration
        - `alignment` (enum  · default: top) — optional
          Label alignment
          Values: `top`, `bottom`
      - `size` (enum  · default: m) — optional
        Font size for the label and value
        Values: `xs`, `s`, `m`, `l`, `xl`, `xxl`
      - `values` (object) — optional
        Values configuration
        - `alignment` (enum  · default: left) — optional
          Value alignment
          Values: `left`, `center`, `right`
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `percentile`
      - `percentile` (number · default: 95) — optional
        Percentile
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visPercentileRanksOperation**
      - `apply_color_to` (enum) — optional
        Color target: `value` colors the metric text, `background` colors the cell or panel background.
        Values: `value`, `background`
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color configuration based on the metric value.
        Same options as `color` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `labels` (object) — optional
        Labels configuration
        - `alignment` (enum  · default: top) — optional
          Label alignment
          Values: `top`, `bottom`
      - `size` (enum  · default: m) — optional
        Font size for the label and value
        Values: `xs`, `s`, `m`, `l`, `xl`, `xxl`
      - `values` (object) — optional
        Values configuration
        - `alignment` (enum  · default: left) — optional
          Value alignment
          Values: `left`, `center`, `right`
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `percentile_rank`
      - `rank` (number · default: 0) — optional
        Percentile Rank
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visFormulaOperation**
      - `apply_color_to` (enum) — optional
        Color target: `value` colors the metric text, `background` colors the cell or panel background.
        Values: `value`, `background`
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color configuration based on the metric value.
        Same options as `color` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `labels` (object) — optional
        Labels configuration
        - `alignment` (enum  · default: top) — optional
          Label alignment
          Values: `top`, `bottom`
      - `size` (enum  · default: m) — optional
        Font size for the label and value
        Values: `xs`, `s`, `m`, `l`, `xl`, `xxl`
      - `values` (object) — optional
        Values configuration
        - `alignment` (enum  · default: left) — optional
          Value alignment
          Values: `left`, `center`, `right`
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `formula` (string) — required
        Formula
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `formula`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (enum) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
  - `query` ({}) — optional
    A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
    - `expression` (string) — required
      A query expression in KQL or Lucene syntax
    - `language` (enum  · default: kql) — optional
      Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
      Values: `kql`, `lucene`
  - `sampling` (number · min: 0 · max: 1 · default: 1) — optional
    Sampling factor between 0 (no sampling) and 1 (full sampling).
  - `tags` ([] string · max: 1000 · default: []) — optional
    Tag IDs to associate with this visualization.
  - `title` (string) — optional
    The title of the chart displayed in the panel. Optional. Any string value or undefined.
  - `type` (enum) — required
    Values: `legacy_metric`
- **Kibana_HTTP_APIs_xyLibItemNoESQL**
  - `axis` ({}) — optional
    Axis configuration for X, Y, and Y2 axes. The Y axis is on the start (leading) side, the Y2 axis is on the end (trailing) side.
    - `x` (object) — optional
      X-axis configuration
      - `domain` (union anyOf) — optional
        X-axis domain configuration
        - **Kibana_HTTP_APIs_visApiDomainFit**
          Uses tight domain bounds from the observed data minimum to maximum, without baseline expansion.
          - `rounding` (boolean · default: true) — optional
            Whether to round axis domain bounds outward to readable “nice” values (for example 1, 5, 10, 100) instead of exact data min/max.
          - `type` (enum) — required
            Values: `fit`
        - **Kibana_HTTP_APIs_visApiDomainCustom**
          Uses explicitly provided domain bounds (min and max).
          - `max` (number) — required
            Max domain value
          - `min` (number) — required
            Min domain value
          - `rounding` (boolean · default: true) — optional
            Whether to round axis domain bounds outward to readable “nice” values (for example 1, 5, 10, 100) instead of exact data min/max.
          - `type` (enum) — required
            Values: `custom`
      - `grid` (object) — optional
        Axis grid lines configuration
        - `visible` (boolean) — required
          Show grid lines for this axis
      - `labels` (object) — optional
        Label configuration
        - `orientation` (enum) — optional
          Orientation
          Values: `horizontal`, `vertical`, `angled`
      - `scale` (enum) — optional
        X-axis scale type. Use 'temporal' for timestamp/date fields (for example, @timestamp or DATE_TRUNC results). Use 'ordinal' for categorical/text fields. Use 'linear' for numeric fields.
        Values: `ordinal`, `temporal`, `linear`
      - `ticks` (object) — optional
        Axis tick marks configuration
        - `visible` (boolean) — required
          Show tick marks on the axis
      - `title` (object) — optional
        Axis title configuration
        - `text` (string) — optional
          Axis title text.
        - `visible` (boolean) — optional
          When `true`, displays the title.
    - `y` (object) — optional
      Y-axis configuration with scale and bounds. The axis position is determined by the key: y renders on the start side (left in vertical charts), y2 on the end side (right in vertical charts).
      - `domain` (union oneOf · default: {
  "rounding": true,
  "type": "full"
}) — optional
        Y-axis domain configuration
        - **Kibana_HTTP_APIs_visApiDomainFull** (`type: full`)
          Uses the full chart domain, including baseline expansion when applicable (for example, includes zero for bar-like series).
          - `rounding` (boolean · default: true) — optional
            Whether to round axis domain bounds outward to readable “nice” values (for example 1, 5, 10, 100) instead of exact data min/max.
          - `type` (enum) — required
            Values: `full`
        - **Kibana_HTTP_APIs_visApiDomainFit** (`type: fit`)
          Uses tight domain bounds from the observed data minimum to maximum, without baseline expansion.
          - `rounding` (boolean · default: true) — optional
            Whether to round axis domain bounds outward to readable “nice” values (for example 1, 5, 10, 100) instead of exact data min/max.
          - `type` (enum) — required
            Values: `fit`
        - **Kibana_HTTP_APIs_visApiDomainCustom** (`type: custom`)
          Uses explicitly provided domain bounds (min and max).
          - `max` (number) — required
            Max domain value
          - `min` (number) — required
            Min domain value
          - `rounding` (boolean · default: true) — optional
            Whether to round axis domain bounds outward to readable “nice” values (for example 1, 5, 10, 100) instead of exact data min/max.
          - `type` (enum) — required
            Values: `custom`
      - `grid` (object) — optional
        Axis grid lines configuration
        - `visible` (boolean) — required
          Show grid lines for this axis
      - `labels` (object) — optional
        Label configuration
        - `orientation` (enum) — optional
          Orientation
          Values: `horizontal`, `vertical`, `angled`
      - `scale` (enum) — optional
        Y-axis scale type for data transformation
        Values: `linear`, `log`, `sqrt`
      - `ticks` (object) — optional
        Axis tick marks configuration
        - `visible` (boolean) — required
          Show tick marks on the axis
      - `title` (object) — optional
        Axis title configuration
        - `text` (string) — optional
          Axis title text.
        - `visible` (boolean) — optional
          When `true`, displays the title.
    - `y2` (object) — optional
      Y-axis configuration with scale and bounds. The axis position is determined by the key: y renders on the start side (left in vertical charts), y2 on the end side (right in vertical charts).
      - `domain` (union oneOf · default: {
  "rounding": true,
  "type": "full"
}) — optional
        Y-axis domain configuration
        - **Kibana_HTTP_APIs_visApiDomainFull** (`type: full`)
          Uses the full chart domain, including baseline expansion when applicable (for example, includes zero for bar-like series).
          - `rounding` (boolean · default: true) — optional
            Whether to round axis domain bounds outward to readable “nice” values (for example 1, 5, 10, 100) instead of exact data min/max.
          - `type` (enum) — required
            Values: `full`
        - **Kibana_HTTP_APIs_visApiDomainFit** (`type: fit`)
          Uses tight domain bounds from the observed data minimum to maximum, without baseline expansion.
          - `rounding` (boolean · default: true) — optional
            Whether to round axis domain bounds outward to readable “nice” values (for example 1, 5, 10, 100) instead of exact data min/max.
          - `type` (enum) — required
            Values: `fit`
        - **Kibana_HTTP_APIs_visApiDomainCustom** (`type: custom`)
          Uses explicitly provided domain bounds (min and max).
          - `max` (number) — required
            Max domain value
          - `min` (number) — required
            Min domain value
          - `rounding` (boolean · default: true) — optional
            Whether to round axis domain bounds outward to readable “nice” values (for example 1, 5, 10, 100) instead of exact data min/max.
          - `type` (enum) — required
            Values: `custom`
      - `grid` (object) — optional
        Axis grid lines configuration
        - `visible` (boolean) — required
          Show grid lines for this axis
      - `labels` (object) — optional
        Label configuration
        - `orientation` (enum) — optional
          Orientation
          Values: `horizontal`, `vertical`, `angled`
      - `scale` (enum) — optional
        Y-axis scale type for data transformation
        Values: `linear`, `log`, `sqrt`
      - `ticks` (object) — optional
        Axis tick marks configuration
        - `visible` (boolean) — required
          Show tick marks on the axis
      - `title` (object) — optional
        Axis title configuration
        - `text` (string) — optional
          Axis title text.
        - `visible` (boolean) — optional
          When `true`, displays the title.
  - `description` (string) — optional
    The description of the chart. Optional. Any string value or undefined.
  - `filters` ([] object · max: 100) — optional
    Filters applied to the panel
  - `layers` ([] union  · min: 1 · max: 100) — required
    Chart layers
    - **Kibana_HTTP_APIs_visXyLayerNoESQL**
      Data layer for standard queries with metrics and buckets
      - `breakdown_by` (union anyOf) — optional
        - **Kibana_HTTP_APIs_visDateHistogramOperation**
          - `aggregate_first` (boolean) — optional
            When `true`, aggregates data before splitting into series. Defaults to `false`.
          - `collapse_by` (union) — optional
            Aggregation function used to collapse a breakdown dimension into a single value.
            Values: `avg`, `sum`, `max`, `min`
          - `color` (union  · default: {
  "mapping": [],
  "mode": "categorical",
  "palette": "default"
}) — optional
            Color mapping for dimension values, either categorical (for specific values) or as a gradient.
            - **Kibana_HTTP_APIs_visCategoricalColorMapping**
              Palette color assignment for specific categorical values. Unmapped values receive the unassigned color.
              - `mapping` ([] object · max: 1000) — required
                - `color` (union anyOf) — required
                  - **Kibana_HTTP_APIs_visColorFromPalette**
                    Color at a fixed index position in a named palette.
                    - `index` (number) — required
                      The index of the color in the palette.
                    - `palette` (string) — optional
                      Color palette name. Accepted values: 'default', 'elastic_line_optimized', 'severity', 'eui_amsterdam', 'kibana_v7_legacy', 'elastic_brand_2023'. Defaults to `default`.
                    - `type` (enum) — required
                      Values: `from_palette`
                  - **Kibana_HTTP_APIs_visColorCode**
                    A color specified as a hex or CSS color code string.
                    - `type` (enum) — required
                      Values: `color_code`
                    - `value` (string) — required
                      The static color value to use.
                - `values` ([] union anyOf · max: 1000) — required
                  - **string**
                  - **number**
                  - **Kibana_HTTP_APIs_visRangeKey**
                    - `from` (number | string) — required
                    - `ranges` ([] object · max: 100) — required
                      - `from` (number | string) — required
                      - `label` (string) — required
                      - `to` (number | string) — required
                    - `to` (number | string) — required
                    - `type` (enum) — required
                      Values: `range_key`
                  - **Kibana_HTTP_APIs_visMultiFieldKey**
                    - `keys` ([] string · max: 100) — required
                    - `type` (enum) — required
                      Values: `multi_field_key`
              - `mode` (enum) — required
                Values: `categorical`
              - `palette` (string) — required
                Color palette name. Accepted values: 'default', 'elastic_line_optimized', 'severity', 'eui_amsterdam', 'kibana_v7_legacy', 'elastic_brand_2023'. Defaults to `default`.
              - `unassigned` (union) — optional
                The color to use for unassigned values.
                - **Kibana_HTTP_APIs_visColorFromPalette**
                  Color at a fixed index position in a named palette.
                  - `index` (number) — required
                    The index of the color in the palette.
                  - `palette` (string) — optional
                    Color palette name. Accepted values: 'default', 'elastic_line_optimized', 'severity', 'eui_amsterdam', 'kibana_v7_legacy', 'elastic_brand_2023'. Defaults to `default`.
                  - `type` (enum) — required
                    Values: `from_palette`
                - **Kibana_HTTP_APIs_visColorCode**
                  A color specified as a hex or CSS color code string.
                  - `type` (enum) — required
                    Values: `color_code`
                  - `value` (string) — required
                    The static color value to use.
            - **Kibana_HTTP_APIs_visGradientColorMapping**
              Gradient color mapping across categorical values.
              - `gradient` ([] union anyOf · max: 3) — optional
                - **Kibana_HTTP_APIs_visColorFromPalette**
                  Color at a fixed index position in a named palette.
                  - `index` (number) — required
                    The index of the color in the palette.
                  - `palette` (string) — optional
                    Color palette name. Accepted values: 'default', 'elastic_line_optimized', 'severity', 'eui_amsterdam', 'kibana_v7_legacy', 'elastic_brand_2023'. Defaults to `default`.
                  - `type` (enum) — required
                    Values: `from_palette`
                - **Kibana_HTTP_APIs_visColorCode**
                  A color specified as a hex or CSS color code string.
                  - `type` (enum) — required
                    Values: `color_code`
                  - `value` (string) — required
                    The static color value to use.
              - `mapping` ([] object · max: 100) — optional
                - `values` ([] union anyOf · max: 100) — required
                  - **string**
                  - **number**
                  - **Kibana_HTTP_APIs_visRangeKey**
                    - `from` (number | string) — required
                    - `ranges` ([] object · max: 100) — required
                      - `from` (number | string) — required
                      - `label` (string) — required
                      - `to` (number | string) — required
                    - `to` (number | string) — required
                    - `type` (enum) — required
                      Values: `range_key`
                  - **Kibana_HTTP_APIs_visMultiFieldKey**
                    - `keys` ([] string · max: 100) — required
                    - `type` (enum) — required
                      Values: `multi_field_key`
              - `mode` (enum) — required
                Values: `gradient`
              - `palette` (string) — required
                Color palette name. Accepted values: 'default', 'elastic_line_optimized', 'severity', 'eui_amsterdam', 'kibana_v7_legacy', 'elastic_brand_2023'. Defaults to `default`.
              - `sort` (enum) — optional
                Sort direction
                Values: `asc`, `desc`
              - `unassigned` (union) — optional
                The color to use for unassigned values.
                - **Kibana_HTTP_APIs_visColorFromPalette**
                  Color at a fixed index position in a named palette.
                  - `index` (number) — required
                    The index of the color in the palette.
                  - `palette` (string) — optional
                    Color palette name. Accepted values: 'default', 'elastic_line_optimized', 'severity', 'eui_amsterdam', 'kibana_v7_legacy', 'elastic_brand_2023'. Defaults to `default`.
                  - `type` (enum) — required
                    Values: `from_palette`
                - **Kibana_HTTP_APIs_visColorCode**
                  A color specified as a hex or CSS color code string.
                  - `type` (enum) — required
                    Values: `color_code`
                  - `value` (string) — required
                    The static color value to use.
          - `drop_partial_intervals` (boolean · default: false) — optional
            When `true`, drops partial intervals from the results.
          - `field` (string) — required
            Field to be used for the date histogram.
          - `include_empty_rows` (boolean · default: true) — optional
            When `true`, includes empty rows in the results.
          - `label` (string) — optional
            Label for the operation
          - `operation` (enum) — required
            Values: `date_histogram`
          - `suggested_interval` (string · default: auto) — optional
            Suggested time interval.
          - `use_original_time_range` (boolean · default: false) — optional
            When `true`, uses the original time range instead of the current query time range.
        - **Kibana_HTTP_APIs_visTermsOperation**
          - `aggregate_first` (boolean) — optional
            When `true`, aggregates data before splitting into series. Defaults to `false`.
          - `collapse_by` (union) — optional
            Aggregation function used to collapse a breakdown dimension into a single value.
            Values: `avg`, `sum`, `max`, `min`
          - `color` (union  · default: {
  "mapping": [],
  "mode": "categorical",
  "palette": "default"
}) — optional
            Color mapping for dimension values, either categorical (for specific values) or as a gradient.
            Same options as `color` in `Kibana_HTTP_APIs_visDateHistogramOperation`
          - `excludes` (object) — optional
            - `as_regex` (boolean) — optional
              When `true`, treats the values as regular expressions.
            - `values` (union [] string | [] number) — required
              Values to exclude.
          - `fields` ([] string · min: 1 · max: 4) — required
          - `format` (union) — optional
            Number display format for the dimension value.
            Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
          - `includes` (object) — optional
            - `as_regex` (boolean) — optional
              When `true`, treats the values as regular expressions.
            - `values` (union [] string | [] number) — required
              Values to include.
          - `increase_accuracy` (boolean) — optional
            When `true`, increases accuracy at the cost of performance.
          - `label` (string) — optional
            Label for the operation
          - `limit` (number · default: 5) — optional
            Number of terms to return.
          - `operation` (enum) — required
            Values: `terms`
          - `other_bucket` (object) — optional
            - `include_documents_without_field` (boolean) — required
              When `true`, includes documents that do not have the specified field.
          - `rank_by` (union anyOf) — optional
            Same options as `rank_by` in `Kibana_HTTP_APIs_visTermsOperation`
        - **Kibana_HTTP_APIs_visHistogramOperation**
          - `aggregate_first` (boolean) — optional
            When `true`, aggregates data before splitting into series. Defaults to `false`.
          - `collapse_by` (union) — optional
            Aggregation function used to collapse a breakdown dimension into a single value.
            Values: `avg`, `sum`, `max`, `min`
          - `color` (union  · default: {
  "mapping": [],
  "mode": "categorical",
  "palette": "default"
}) — optional
            Color mapping for dimension values, either categorical (for specific values) or as a gradient.
            Same options as `color` in `Kibana_HTTP_APIs_visDateHistogramOperation`
          - `field` (string) — required
            Field to be used for the histogram.
          - `format` (union) — optional
            Number display format for the dimension value.
            Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
          - `granularity` (union number | enum · default: auto) — optional
            Values: `auto`
          - `include_empty_rows` (boolean · default: true) — optional
            When `true`, includes empty rows in the results.
          - `label` (string) — optional
            Label for the operation
          - `operation` (enum) — required
            Values: `histogram`
        - **Kibana_HTTP_APIs_visRangesOperation**
          - `aggregate_first` (boolean) — optional
            When `true`, aggregates data before splitting into series. Defaults to `false`.
          - `collapse_by` (union) — optional
            Aggregation function used to collapse a breakdown dimension into a single value.
            Values: `avg`, `sum`, `max`, `min`
          - `color` (union  · default: {
  "mapping": [],
  "mode": "categorical",
  "palette": "default"
}) — optional
            Color mapping for dimension values, either categorical (for specific values) or as a gradient.
            Same options as `color` in `Kibana_HTTP_APIs_visDateHistogramOperation`
          - `field` (string) — required
            Field to be used for the range.
          - `format` (union) — optional
            Number display format for the dimension value.
            Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
          - `label` (string) — optional
            Label for the operation
          - `operation` (enum) — required
            Values: `range`
          - `ranges` ([] object · max: 100) — required
            - `gt` (number) — optional
              Greater than.
            - `label` (string) — optional
              Label.
            - `lte` (number) — optional
              Less than or equal to.
        - **Kibana_HTTP_APIs_visFiltersOperation**
          - `aggregate_first` (boolean) — optional
            When `true`, aggregates data before splitting into series. Defaults to `false`.
          - `collapse_by` (union) — optional
            Aggregation function used to collapse a breakdown dimension into a single value.
            Values: `avg`, `sum`, `max`, `min`
          - `color` (union  · default: {
  "mapping": [],
  "mode": "categorical",
  "palette": "default"
}) — optional
            Color mapping for dimension values, either categorical (for specific values) or as a gradient.
            Same options as `color` in `Kibana_HTTP_APIs_visDateHistogramOperation`
          - `filters` ([] object · max: 100) — required
            - `filter` ({}) — required
              A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
              - `expression` (string) — required
                A query expression in KQL or Lucene syntax
              - `language` (enum  · default: kql) — optional
                Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
                Values: `kql`, `lucene`
            - `label` (string) — optional
              Label for the filter
          - `label` (string) — optional
            Label for the operation
          - `operation` (enum) — required
            Values: `filters`
      - `data_source` (union oneOf) — required
        - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
          - `ref_id` (string) — required
            The id of the Kibana data view to use as the data source. Example: "my-data-view".
          - `type` (enum) — required
            Values: `data_view_reference`
        - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
          - `allow_hidden_indices` (boolean) — optional
            When `true`, allows the data view to match hidden indices.
          - `field_filters` ([] object · max: 10000) — optional
            Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
          - `field_settings` (map string to object) — optional
          - `index_pattern` (string · min: 1) — required
            The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
          - `name` (string · min: 1 · max: 256) — optional
            The name of the data view. Example: "Sample data view".
          - `time_field` (string) — optional
            The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
          - `type` (enum) — required
            Values: `data_view_spec`
      - `ignore_global_filters` (boolean · default: false) — optional
        When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
      - `sampling` (number · min: 0 · max: 1 · default: 1) — optional
        Sampling factor between 0 (no sampling) and 1 (full sampling).
      - `type` (enum) — required
        Chart type for the data layer
        Values: `area`, `area_percentage`, `area_stacked`, `bar`, `bar_horizontal`, `bar_horizontal_stacked`, `bar_horizontal_percentage`, `bar_percentage`, `bar_stacked`, `line`
      - `x` (union anyOf) — optional
        - **Kibana_HTTP_APIs_visDateHistogramOperation**
          - `drop_partial_intervals` (boolean · default: false) — optional
            When `true`, drops partial intervals from the results.
          - `field` (string) — required
            Field to be used for the date histogram.
          - `include_empty_rows` (boolean · default: true) — optional
            When `true`, includes empty rows in the results.
          - `label` (string) — optional
            Label for the operation
          - `operation` (enum) — required
            Values: `date_histogram`
          - `suggested_interval` (string · default: auto) — optional
            Suggested time interval.
          - `use_original_time_range` (boolean · default: false) — optional
            When `true`, uses the original time range instead of the current query time range.
        - **Kibana_HTTP_APIs_visTermsOperation**
          - `excludes` (object) — optional
            - `as_regex` (boolean) — optional
              When `true`, treats the values as regular expressions.
            - `values` (union [] string | [] number) — required
              Values to exclude.
          - `fields` ([] string · min: 1 · max: 4) — required
          - `format` (union) — optional
            Number display format for the dimension value.
            Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
          - `includes` (object) — optional
            - `as_regex` (boolean) — optional
              When `true`, treats the values as regular expressions.
            - `values` (union [] string | [] number) — required
              Values to include.
          - `increase_accuracy` (boolean) — optional
            When `true`, increases accuracy at the cost of performance.
          - `label` (string) — optional
            Label for the operation
          - `limit` (number · default: 5) — optional
            Number of terms to return.
          - `operation` (enum) — required
            Values: `terms`
          - `other_bucket` (object) — optional
            - `include_documents_without_field` (boolean) — required
              When `true`, includes documents that do not have the specified field.
          - `rank_by` (union anyOf) — optional
            Same options as `rank_by` in `Kibana_HTTP_APIs_visTermsOperation`
        - **Kibana_HTTP_APIs_visHistogramOperation**
          - `field` (string) — required
            Field to be used for the histogram.
          - `format` (union) — optional
            Number display format for the dimension value.
            Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
          - `granularity` (union number | enum · default: auto) — optional
            Values: `auto`
          - `include_empty_rows` (boolean · default: true) — optional
            When `true`, includes empty rows in the results.
          - `label` (string) — optional
            Label for the operation
          - `operation` (enum) — required
            Values: `histogram`
        - **Kibana_HTTP_APIs_visRangesOperation**
          - `field` (string) — required
            Field to be used for the range.
          - `format` (union) — optional
            Number display format for the dimension value.
            Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
          - `label` (string) — optional
            Label for the operation
          - `operation` (enum) — required
            Values: `range`
          - `ranges` ([] object · max: 100) — required
            - `gt` (number) — optional
              Greater than.
            - `label` (string) — optional
              Label.
            - `lte` (number) — optional
              Less than or equal to.
        - **Kibana_HTTP_APIs_visFiltersOperation**
          - `filters` ([] object · max: 100) — required
            - `filter` ({}) — required
              A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
              - `expression` (string) — required
                A query expression in KQL or Lucene syntax
              - `language` (enum  · default: kql) — optional
                Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
                Values: `kql`, `lucene`
            - `label` (string) — optional
              Label for the filter
          - `label` (string) — optional
            Label for the operation
          - `operation` (enum) — required
            Values: `filters`
      - `y` ([] union anyOf · max: 100) — required
        Array of metrics to display on Y-axis
        - `axis` (enum  · default: y) — optional
          The Y axis this metric is plotted on. Values match the root axis configuration keys (axis.y, axis.y2). If omitted, defaults to the Y axis start (leading) side.
          Values: `y`, `y2`
        - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
          - **Kibana_HTTP_APIs_visStaticColor**
            Fixed color for all values in the dimension.
            - `color` (string) — required
              The static color to be used for all values.
            - `type` (enum) — required
              Values: `static`
          - **Kibana_HTTP_APIs_visAutoColor**
            Coloring determined at runtime based on chart defaults
            - `type` (enum) — required
              Values: `auto`
    - **Kibana_HTTP_APIs_visXyReferenceLineLayerNoESQL**
      Reference line layer for standard queries
      - `data_source` (union oneOf) — required
        - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
          - `ref_id` (string) — required
            The id of the Kibana data view to use as the data source. Example: "my-data-view".
          - `type` (enum) — required
            Values: `data_view_reference`
        - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
          - `allow_hidden_indices` (boolean) — optional
            When `true`, allows the data view to match hidden indices.
          - `field_filters` ([] object · max: 10000) — optional
            Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
          - `field_settings` (map string to object) — optional
          - `index_pattern` (string · min: 1) — required
            The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
          - `name` (string · min: 1 · max: 256) — optional
            The name of the data view. Example: "Sample data view".
          - `time_field` (string) — optional
            The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
          - `type` (enum) — required
            Values: `data_view_spec`
      - `ignore_global_filters` (boolean · default: false) — optional
        When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
      - `sampling` (number · min: 0 · max: 1 · default: 1) — optional
        Sampling factor between 0 (no sampling) and 1 (full sampling).
      - `thresholds` ([] union anyOf · min: 1 · max: 100) — required
        Array of reference line thresholds
        - `axis` (enum  · default: y) — optional
          The axis this reference line is drawn on. Values match the root axis configuration keys. If omitted, defaults to the primary Y axis.
          Values: `x`, `y`, `y2`
        - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
          - **Kibana_HTTP_APIs_visStaticColor**
            Fixed color for all values in the dimension.
            - `color` (string) — required
              The static color to be used for all values.
            - `type` (enum) — required
              Values: `static`
          - **Kibana_HTTP_APIs_visAutoColor**
            Coloring determined at runtime based on chart defaults
            - `type` (enum) — required
              Values: `auto`
        - `fill` (enum) — optional
          Fill direction for reference line
          Values: `above`, `below`
        - `icon` (enum) — optional
          Icon to display on the reference line
          Values: `asterisk`, `alert`, `bell`, `bolt`, `bug`, `circle`, `editor_comment`, `flag`, `heart`, `map_marker`, `pin_filled`, `star_empty`, `star_filled`, `tag`, `triangle`
        - `position` (enum) — optional
          Position of the icon and label relative to the reference line
          Values: `auto`, `left`, `right`
        - `stroke_dash` (enum) — optional
          Line style
          Values: `solid`, `dashed`, `dotted`
        - `stroke_width` (number · min: 1 · max: 10) — optional
          Line width in pixels
        - `text` (object) — optional
          Reference line text label configuration
          - `visible` (boolean) — required
            Show text label on the reference line
      - `type` (enum) — required
        Values: `reference_lines`
    - **Kibana_HTTP_APIs_visXyAnnotationLayerNoESQL**
      Layer containing annotations (query-based, points, and ranges)
      - `data_source` (union oneOf) — optional
        - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
          - `ref_id` (string) — required
            The id of the Kibana data view to use as the data source. Example: "my-data-view".
          - `type` (enum) — required
            Values: `data_view_reference`
        - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
          - `allow_hidden_indices` (boolean) — optional
            When `true`, allows the data view to match hidden indices.
          - `field_filters` ([] object · max: 10000) — optional
            Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
          - `field_settings` (map string to object) — optional
          - `index_pattern` (string · min: 1) — required
            The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
          - `name` (string · min: 1 · max: 256) — optional
            The name of the data view. Example: "Sample data view".
          - `time_field` (string) — optional
            The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
          - `type` (enum) — required
            Values: `data_view_spec`
      - `events` ([] union anyOf · min: 1 · max: 100) — required
        Array of annotation configurations
        - **Kibana_HTTP_APIs_visXyAnnotationQuery**
          Annotation from query results matching a filter
          - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
            - **Kibana_HTTP_APIs_visStaticColor**
              Fixed color for all values in the dimension.
              - `color` (string) — required
                The static color to be used for all values.
              - `type` (enum) — required
                Values: `static`
            - **Kibana_HTTP_APIs_visAutoColor**
              Coloring determined at runtime based on chart defaults
              - `type` (enum) — required
                Values: `auto`
          - `extra_fields` ([] string · max: 100) — optional
            Additional fields for annotation tooltip
          - `icon` (enum) — optional
            Icon to display at the annotation point
            Values: `asterisk`, `alert`, `bell`, `bolt`, `bug`, `circle`, `editor_comment`, `flag`, `heart`, `map_marker`, `pin_filled`, `star_empty`, `star_filled`, `tag`, `triangle`
          - `label` (string) — optional
            Label text for the annotation
          - `line` (object) — optional
            Vertical line configuration for point annotation
            - `stroke_dash` (enum) — required
              Vertical line style
              Values: `solid`, `dashed`, `dotted`
            - `stroke_width` (number · min: 1 · max: 10) — required
              Vertical line width in pixels
          - `query` ({}) — required
            A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
            - `expression` (string) — required
              A query expression in KQL or Lucene syntax
            - `language` (enum  · default: kql) — optional
              Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
              Values: `kql`, `lucene`
          - `text` (object) — optional
            Annotation text label configuration
            - `field` (string) — optional
              Field name for text label source
            - `visible` (boolean) — required
              Show text label on the annotation
          - `time_field` (string) — required
            Field containing the timestamp
          - `type` (enum) — required
            Values: `query`
          - `visible` (boolean) — optional
            Show the annotation
        - **Kibana_HTTP_APIs_visXyAnnotationManualEvent**
          Manual point annotation at specific timestamp
          - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
            - **Kibana_HTTP_APIs_visStaticColor**
              Fixed color for all values in the dimension.
              - `color` (string) — required
                The static color to be used for all values.
              - `type` (enum) — required
                Values: `static`
            - **Kibana_HTTP_APIs_visAutoColor**
              Coloring determined at runtime based on chart defaults
              - `type` (enum) — required
                Values: `auto`
          - `icon` (enum) — optional
            Icon to display at the annotation point
            Values: `asterisk`, `alert`, `bell`, `bolt`, `bug`, `circle`, `editor_comment`, `flag`, `heart`, `map_marker`, `pin_filled`, `star_empty`, `star_filled`, `tag`, `triangle`
          - `label` (string) — optional
            Label text for the annotation
          - `line` (object) — optional
            Vertical line configuration for point annotation
            - `stroke_dash` (enum) — required
              Vertical line style
              Values: `solid`, `dashed`, `dotted`
            - `stroke_width` (number · min: 1 · max: 10) — required
              Vertical line width in pixels
          - `text` (object) — optional
            Annotation text label visibility
            - `visible` (boolean) — required
              Show text label on the annotation
          - `timestamp` (union number | string) — required
          - `type` (enum) — required
            Values: `point`
          - `visible` (boolean) — optional
            Show the annotation
        - **Kibana_HTTP_APIs_visXyAnnotationManualRange**
          Manual range annotation spanning time interval
          - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
            - **Kibana_HTTP_APIs_visStaticColor**
              Fixed color for all values in the dimension.
              - `color` (string) — required
                The static color to be used for all values.
              - `type` (enum) — required
                Values: `static`
            - **Kibana_HTTP_APIs_visAutoColor**
              Coloring determined at runtime based on chart defaults
              - `type` (enum) — required
                Values: `auto`
          - `fill` (enum  · default: inside) — optional
            Fill direction for range
            Values: `inside`, `outside`
          - `interval` (object) — required
            Time range for annotation
            - `from` (union number | string) — required
            - `to` (union number | string) — required
          - `label` (string) — optional
            Label text for the annotation
          - `type` (enum) — required
            Values: `range`
          - `visible` (boolean) — optional
            Show the annotation
      - `ignore_global_filters` (boolean · default: false) — optional
        When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
      - `type` (enum) — required
        Values: `annotations`
    - **Kibana_HTTP_APIs_visXyAnnotationByRefLayer**
      Reference to a library annotation group
      - `group_id` (string) — required
        ID of the linked annotation group from the library
      - `type` (enum) — required
        Values: `annotation_group`
  - `legend` (union) — optional
    Legend configuration for XY chart
    - **Kibana_HTTP_APIs_visXyLegendOutsideHorizontal**
      Outside legend positioned horizontal (top/bottom) of the chart
      - `layout` (union anyOf) — optional
        - **type: grid**
          - `truncate` (object) — optional
            - `enabled` (boolean) — optional
              Enable truncation of legend items
            - `max_lines` (number · min: 1 · max: 10 · default: 1) — optional
              Number of lines before legend items are truncated.
          - `type` (enum) — required
            Values: `grid`
        - **type: list**
          - `type` (enum) — required
            Values: `list`
      - `placement` (enum) — optional
        Values: `outside`
      - `position` (enum) — optional
        Values: `top`, `bottom`
      - `series_header` ({}) — optional
        Legend table series header configuration.
        - `text` (string) — optional
          Legend table series header text.
        - `visible` (boolean) — optional
          When true, shows the legend table series header.
      - `statistics` ([] enum  · max: 17) — optional
        Statistics to display in legend
        Values: `min`, `max`, `avg`, `median`, `range`, `last_value`, `last_non_null_value`, `first_value`, `first_non_null_value`, `difference`, `difference_percentage`, `count`, `total`, `standard_deviation`, `variance`, `distinct_count`, `current_and_last_value`
      - `visibility` (enum) — optional
        Legend visibility.
        Values: `auto`, `visible`, `hidden`
    - **Kibana_HTTP_APIs_visXyLegendOutsideVertical**
      Outside legend positioned vertical (left/right) of the chart
      - `layout` (object) — optional
        - `truncate` (object) — optional
          - `enabled` (boolean) — optional
            Enable truncation of legend items
          - `max_lines` (number · min: 1 · max: 10 · default: 1) — optional
            Number of lines before legend items are truncated.
        - `type` (enum) — required
          Values: `grid`
      - `placement` (enum) — optional
        Values: `outside`
      - `position` (enum) — optional
        Values: `left`, `right`
      - `series_header` ({}) — optional
        Legend table series header configuration.
        - `text` (string) — optional
          Legend table series header text.
        - `visible` (boolean) — optional
          When true, shows the legend table series header.
      - `size` (union) — optional
        Legend size.
        Values: `auto`, `s`, `m`, `l`, `xl`
      - `statistics` ([] enum  · max: 17) — optional
        Statistics to display in legend
        Values: `min`, `max`, `avg`, `median`, `range`, `last_value`, `last_non_null_value`, `first_value`, `first_non_null_value`, `difference`, `difference_percentage`, `count`, `total`, `standard_deviation`, `variance`, `distinct_count`, `current_and_last_value`
      - `visibility` (enum) — optional
        Legend visibility.
        Values: `auto`, `visible`, `hidden`
    - **Kibana_HTTP_APIs_visXyLegendInside**
      Inside legend
      - `columns` (number · min: 1 · max: 5) — optional
        Number of legend columns
      - `layout` (object) — optional
        - `truncate` (object) — optional
          - `enabled` (boolean) — optional
            Enable truncation of legend items
          - `max_lines` (number · min: 1 · max: 10 · default: 1) — optional
            Number of lines before legend items are truncated.
        - `type` (enum) — required
          Values: `grid`
      - `placement` (enum) — required
        Values: `inside`
      - `position` (enum) — optional
        Legend position inside the chart
        Values: `top_left`, `top_right`, `bottom_left`, `bottom_right`
      - `series_header` ({}) — optional
        Legend table series header configuration.
        - `text` (string) — optional
          Legend table series header text.
        - `visible` (boolean) — optional
          When true, shows the legend table series header.
      - `statistics` ([] enum  · max: 17) — optional
        Statistics to display in legend
        Values: `min`, `max`, `avg`, `median`, `range`, `last_value`, `last_non_null_value`, `first_value`, `first_non_null_value`, `difference`, `difference_percentage`, `count`, `total`, `standard_deviation`, `variance`, `distinct_count`, `current_and_last_value`
      - `visibility` (enum) — optional
        Legend visibility.
        Values: `auto`, `visible`, `hidden`
  - `query` ({}) — optional
    A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
    - `expression` (string) — required
      A query expression in KQL or Lucene syntax
    - `language` (enum  · default: kql) — optional
      Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
      Values: `kql`, `lucene`
  - `styling` ({}) — optional
    Visual styling options for the chart
    - `areas` ({}) — optional
      Area-specific rendering settings
      - `fill` (enum  · default: solid) — optional
        Area fill type: solid or gradient. Defaults to solid.
        Values: `solid`, `gradient`
      - `fill_opacity` (number · min: 0 · max: 2 · default: 0.3) — optional
        Area fill opacity (0-1 typical, max 2 for legacy)
    - `bars` ({}) — optional
      Bar-specific rendering settings
      - `data_labels` (object) — optional
        Data label configuration for bar series
        - `visible` (boolean · default: false) — optional
          Display value labels on bar data points
      - `minimum_height` (number · min: 0 · default: 1) — optional
        Minimum bar height in pixels
    - `fitting` ({}) — optional
      Missing data interpolation configuration for line and area series
      - `emphasize` (boolean) — optional
        Visually distinguish fitted segments with a dashed line style and reduced area opacity
      - `extend` (enum) — optional
        How to render line and area edges when data does not cover the full X domain
        Values: `none`, `zero`, `nearest`
      - `type` (enum) — required
        Fitting function type for missing data
        Values: `none`, `zero`, `linear`, `carry`, `lookahead`, `average`, `nearest`
    - `interpolation` (enum  · default: linear) — optional
      Curve interpolation method for line and area series
      Values: `linear`, `smooth`, `stepped`
    - `overlays` ({}) — optional
      Visual overlays drawn on top of the chart canvas
      - `current_time_marker` (object) — optional
        Current time marker configuration
        - `visible` (boolean · default: false) — optional
          Show current time marker line
      - `partial_buckets` (object) — optional
        Partial (incomplete) bucket indicator configuration
        - `visible` (boolean · default: false) — optional
          Show partial bucket indicators at time range edges
    - `points` ({}) — optional
      Data point marker settings for line and area series
      - `visibility` (enum  · default: auto) — optional
        Data point marker visibility on line and area series
        Values: `auto`, `visible`, `hidden`
  - `tags` ([] string · max: 1000 · default: []) — optional
    Tag IDs to associate with this visualization.
  - `title` (string) — optional
    The title of the chart displayed in the panel. Optional. Any string value or undefined.
  - `type` (enum) — required
    Values: `xy`
- **Kibana_HTTP_APIs_gaugeLibItemNoESQL**
  - `data_source` (union oneOf) — required
    - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
      - `ref_id` (string) — required
        The id of the Kibana data view to use as the data source. Example: "my-data-view".
      - `type` (enum) — required
        Values: `data_view_reference`
    - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
      - `allow_hidden_indices` (boolean) — optional
        When `true`, allows the data view to match hidden indices.
      - `field_filters` ([] object · max: 10000) — optional
        Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
      - `field_settings` (map string to object) — optional
      - `index_pattern` (string · min: 1) — required
        The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
      - `name` (string · min: 1 · max: 256) — optional
        The name of the data view. Example: "Sample data view".
      - `time_field` (string) — optional
        The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
      - `type` (enum) — required
        Values: `data_view_spec`
  - `description` (string) — optional
    The description of the chart. Optional. Any string value or undefined.
  - `filters` ([] object · max: 100) — optional
    Filters applied to the panel
  - `ignore_global_filters` (boolean · default: false) — optional
    When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
  - `metric` (union anyOf) — required
    - **Kibana_HTTP_APIs_visCountMetricOperation**
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color configuration for the gauge fill.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visNoColor**
          Explicitly disables coloring
          - `type` (enum) — required
            Values: `none`
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `goal` (union anyOf) — optional
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
        - **Kibana_HTTP_APIs_visFieldMetricOperations**
        - **Kibana_HTTP_APIs_visStaticOperationDefinition**
          - `format` (union) — optional
            Number display format for the dimension value.
            Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
          - `label` (string) — optional
            Label for the operation
          - `operation` (enum) — required
            Values: `static_value`
          - `value` (number · default: 100) — optional
            Static value
        - **Kibana_HTTP_APIs_visFormulaOperation**
          - `filter` ({}) — optional
            A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
            - `expression` (string) — required
              A query expression in KQL or Lucene syntax
            - `language` (enum  · default: kql) — optional
              Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
              Values: `kql`, `lucene`
          - `format` (union) — optional
            Number display format for the dimension value.
            Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
          - `formula` (string) — required
            Formula
          - `label` (string) — optional
            Label for the operation
          - `operation` (enum) — required
            Values: `formula`
          - `reduced_time_range` (string) — optional
            Reduced time range
          - `time_scale` (enum) — optional
            Time scale
            Values: `s`, `m`, `h`, `d`
      - `max` (union anyOf) — optional
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
        Same options as `goal` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `min` (union anyOf) — optional
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
        Same options as `goal` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `subtitle` (string) — optional
        Subtitle below the gauge value.
      - `ticks` (object) — optional
        Ticks configuration
        - `mode` (enum  · default: bands) — optional
          Tick placement mode.
          Values: `auto`, `bands`
        - `visible` (boolean · default: true) — optional
          When `true`, displays tick marks on the gauge.
      - `title` (object) — optional
        Title configuration
        - `text` (string) — optional
          Title text.
        - `visible` (boolean · default: true) — optional
          When `true`, displays the title.
      - `empty_as_null` (boolean · default: false) — optional
        When `true`, treats empty buckets as null instead of zero.
      - `field` (string) — optional
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `count`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visUniqueCountMetricOperation**
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color configuration for the gauge fill.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visNoColor**
          Explicitly disables coloring
          - `type` (enum) — required
            Values: `none`
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `goal` (union anyOf) — optional
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
        Same options as `goal` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `max` (union anyOf) — optional
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
        Same options as `goal` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `min` (union anyOf) — optional
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
        Same options as `goal` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `subtitle` (string) — optional
        Subtitle below the gauge value.
      - `ticks` (object) — optional
        Ticks configuration
        - `mode` (enum  · default: bands) — optional
          Tick placement mode.
          Values: `auto`, `bands`
        - `visible` (boolean · default: true) — optional
          When `true`, displays tick marks on the gauge.
      - `title` (object) — optional
        Title configuration
        - `text` (string) — optional
          Title text.
        - `visible` (boolean · default: true) — optional
          When `true`, displays the title.
      - `empty_as_null` (boolean · default: false) — optional
        When `true`, treats empty buckets as null instead of zero.
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `unique_count`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visMinMaxAvgMedianStdDevMetricOperation**
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color configuration for the gauge fill.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visNoColor**
          Explicitly disables coloring
          - `type` (enum) — required
            Values: `none`
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `goal` (union anyOf) — optional
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
        Same options as `goal` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `max` (union anyOf) — optional
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
        Same options as `goal` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `min` (union anyOf) — optional
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
        Same options as `goal` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `subtitle` (string) — optional
        Subtitle below the gauge value.
      - `ticks` (object) — optional
        Ticks configuration
        - `mode` (enum  · default: bands) — optional
          Tick placement mode.
          Values: `auto`, `bands`
        - `visible` (boolean · default: true) — optional
          When `true`, displays tick marks on the gauge.
      - `title` (object) — optional
        Title configuration
        - `text` (string) — optional
          Title text.
        - `visible` (boolean · default: true) — optional
          When `true`, displays the title.
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `min`, `max`, `average`, `median`, `standard_deviation`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visSumMetricOperation**
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color configuration for the gauge fill.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visNoColor**
          Explicitly disables coloring
          - `type` (enum) — required
            Values: `none`
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `goal` (union anyOf) — optional
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
        Same options as `goal` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `max` (union anyOf) — optional
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
        Same options as `goal` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `min` (union anyOf) — optional
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
        Same options as `goal` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `subtitle` (string) — optional
        Subtitle below the gauge value.
      - `ticks` (object) — optional
        Ticks configuration
        - `mode` (enum  · default: bands) — optional
          Tick placement mode.
          Values: `auto`, `bands`
        - `visible` (boolean · default: true) — optional
          When `true`, displays tick marks on the gauge.
      - `title` (object) — optional
        Title configuration
        - `text` (string) — optional
          Title text.
        - `visible` (boolean · default: true) — optional
          When `true`, displays the title.
      - `empty_as_null` (boolean · default: false) — optional
        When `true`, treats empty buckets as null instead of zero.
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `sum`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visLastValueOperation**
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color configuration for the gauge fill.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visNoColor**
          Explicitly disables coloring
          - `type` (enum) — required
            Values: `none`
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `goal` (union anyOf) — optional
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
        Same options as `goal` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `max` (union anyOf) — optional
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
        Same options as `goal` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `min` (union anyOf) — optional
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
        Same options as `goal` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `subtitle` (string) — optional
        Subtitle below the gauge value.
      - `ticks` (object) — optional
        Ticks configuration
        - `mode` (enum  · default: bands) — optional
          Tick placement mode.
          Values: `auto`, `bands`
        - `visible` (boolean · default: true) — optional
          When `true`, displays tick marks on the gauge.
      - `title` (object) — optional
        Title configuration
        - `text` (string) — optional
          Title text.
        - `visible` (boolean · default: true) — optional
          When `true`, displays the title.
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `multi_value` (boolean · default: false) — optional
        Whether to return all values for multi-value fields. Only affects data table and metric charts; other charts use the last value from the array.
      - `operation` (enum) — required
        Values: `last_value`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_field` (string) — required
        Time field used to determine document recency
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visPercentileOperation**
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color configuration for the gauge fill.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visNoColor**
          Explicitly disables coloring
          - `type` (enum) — required
            Values: `none`
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `goal` (union anyOf) — optional
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
        Same options as `goal` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `max` (union anyOf) — optional
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
        Same options as `goal` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `min` (union anyOf) — optional
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
        Same options as `goal` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `subtitle` (string) — optional
        Subtitle below the gauge value.
      - `ticks` (object) — optional
        Ticks configuration
        - `mode` (enum  · default: bands) — optional
          Tick placement mode.
          Values: `auto`, `bands`
        - `visible` (boolean · default: true) — optional
          When `true`, displays tick marks on the gauge.
      - `title` (object) — optional
        Title configuration
        - `text` (string) — optional
          Title text.
        - `visible` (boolean · default: true) — optional
          When `true`, displays the title.
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `percentile`
      - `percentile` (number · default: 95) — optional
        Percentile
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visPercentileRanksOperation**
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color configuration for the gauge fill.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visNoColor**
          Explicitly disables coloring
          - `type` (enum) — required
            Values: `none`
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `goal` (union anyOf) — optional
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
        Same options as `goal` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `max` (union anyOf) — optional
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
        Same options as `goal` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `min` (union anyOf) — optional
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
        Same options as `goal` in `Kibana_HTTP_APIs_visCountMetricOperation`
      - `subtitle` (string) — optional
        Subtitle below the gauge value.
      - `ticks` (object) — optional
        Ticks configuration
        - `mode` (enum  · default: bands) — optional
          Tick placement mode.
          Values: `auto`, `bands`
        - `visible` (boolean · default: true) — optional
          When `true`, displays tick marks on the gauge.
      - `title` (object) — optional
        Title configuration
        - `text` (string) — optional
          Title text.
        - `visible` (boolean · default: true) — optional
          When `true`, displays the title.
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `percentile_rank`
      - `rank` (number · default: 0) — optional
        Percentile Rank
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visFormulaOperation**
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color configuration for the gauge fill.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visNoColor**
          Explicitly disables coloring
          - `type` (enum) — required
            Values: `none`
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `goal` (union anyOf) — optional — recursive
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
      - `max` (union anyOf) — optional — recursive
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
      - `min` (union anyOf) — optional — recursive
        Metric dimension using a field-based aggregation, a static value, or a mathematical formula.
      - `subtitle` (string) — optional
        Subtitle below the gauge value.
      - `ticks` (object) — optional
        Ticks configuration
        - `mode` (enum  · default: bands) — optional
          Tick placement mode.
          Values: `auto`, `bands`
        - `visible` (boolean · default: true) — optional
          When `true`, displays tick marks on the gauge.
      - `title` (object) — optional
        Title configuration
        - `text` (string) — optional
          Title text.
        - `visible` (boolean · default: true) — optional
          When `true`, displays the title.
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `formula` (string) — required
        Formula
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `formula`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (enum) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
  - `query` ({}) — optional
    A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
    - `expression` (string) — required
      A query expression in KQL or Lucene syntax
    - `language` (enum  · default: kql) — optional
      Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
      Values: `kql`, `lucene`
  - `sampling` (number · min: 0 · max: 1 · default: 1) — optional
    Sampling factor between 0 (no sampling) and 1 (full sampling).
  - `styling` ({}) — optional
    Visual chart styling options
    - `shape` (union anyOf · default: {
  "orientation": "horizontal",
  "type": "bullet"
}) — optional
      - **Kibana_HTTP_APIs_visGaugeShapeBullet**
        Bullet gauge shape.
        - `orientation` (enum) — optional
          Orientation
          Values: `horizontal`, `vertical`
        - `type` (enum) — required
          Values: `bullet`
      - **Kibana_HTTP_APIs_visGaugeShapeCircular**
        Circular gauge shape.
        - `type` (enum) — required
          Values: `circle`, `semi_circle`, `arc`
  - `tags` ([] string · max: 1000 · default: []) — optional
    Tag IDs to associate with this visualization.
  - `title` (string) — optional
    The title of the chart displayed in the panel. Optional. Any string value or undefined.
  - `type` (enum) — required
    Values: `gauge`
- **Kibana_HTTP_APIs_heatmapLibItemNoESQL**
  - `axis` ({}) — optional
    Axis configuration for X and Y axes
    - `x` ({}) — optional
      X axis configuration
      - `labels` (object) — optional
        - `orientation` (enum) — optional
          Orientation
          Values: `horizontal`, `vertical`, `angled`
        - `visible` (boolean · default: true) — optional
          Show axis labels
      - `scale` (enum) — required
        X-axis scale type. Use 'temporal' for timestamp/date fields (for example, @timestamp or DATE_TRUNC results). Use 'ordinal' for categorical/text fields. Use 'linear' for numeric fields.
        Values: `ordinal`, `temporal`, `linear`
      - `sort` (enum) — optional
        Axis sort order; omit or use undefined for no sorting
        Values: `asc`, `desc`
      - `title` (object) — optional
        - `text` (string) — optional
          Axis title text.
        - `visible` (boolean) — optional
          When `true`, displays the title.
    - `y` ({}) — optional
      Y axis configuration
      - `labels` (object) — optional
        - `visible` (boolean · default: true) — optional
          Show axis labels
      - `sort` (enum) — optional
        Axis sort order; omit or use undefined for no sorting
        Values: `asc`, `desc`
      - `title` (object) — optional
        - `text` (string) — optional
          Axis title text.
        - `visible` (boolean) — optional
          When `true`, displays the title.
  - `data_source` (union oneOf) — required
    - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
      - `ref_id` (string) — required
        The id of the Kibana data view to use as the data source. Example: "my-data-view".
      - `type` (enum) — required
        Values: `data_view_reference`
    - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
      - `allow_hidden_indices` (boolean) — optional
        When `true`, allows the data view to match hidden indices.
      - `field_filters` ([] object · max: 10000) — optional
        Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
      - `field_settings` (map string to object) — optional
      - `index_pattern` (string · min: 1) — required
        The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
      - `name` (string · min: 1 · max: 256) — optional
        The name of the data view. Example: "Sample data view".
      - `time_field` (string) — optional
        The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
      - `type` (enum) — required
        Values: `data_view_spec`
  - `description` (string) — optional
    The description of the chart. Optional. Any string value or undefined.
  - `filters` ([] object · max: 100) — optional
    Filters applied to the panel
  - `ignore_global_filters` (boolean · default: false) — optional
    When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
  - `legend` ({}) — optional
    Legend configuration
    - `position` (enum) — optional
      Values: `top`, `bottom`, `left`, `right`
    - `size` (union) — optional
      Legend size.
      Values: `auto`, `s`, `m`, `l`, `xl`
    - `truncate_after_lines` (number · min: 1 · max: 10 · default: 1) — optional
      Number of lines before legend items are truncated.
    - `visibility` (enum) — optional
      Legend visibility.
      Values: `visible`, `hidden`
  - `metric` (union anyOf) — required
    - **Kibana_HTTP_APIs_visCountMetricOperation**
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color scale configuration for the heatmap cells.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `empty_as_null` (boolean · default: false) — optional
        When `true`, treats empty buckets as null instead of zero.
      - `field` (string) — optional
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `count`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visUniqueCountMetricOperation**
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color scale configuration for the heatmap cells.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `empty_as_null` (boolean · default: false) — optional
        When `true`, treats empty buckets as null instead of zero.
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `unique_count`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visMinMaxAvgMedianStdDevMetricOperation**
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color scale configuration for the heatmap cells.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `min`, `max`, `average`, `median`, `standard_deviation`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visSumMetricOperation**
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color scale configuration for the heatmap cells.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `empty_as_null` (boolean · default: false) — optional
        When `true`, treats empty buckets as null instead of zero.
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `sum`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visLastValueOperation**
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color scale configuration for the heatmap cells.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `multi_value` (boolean · default: false) — optional
        Whether to return all values for multi-value fields. Only affects data table and metric charts; other charts use the last value from the array.
      - `operation` (enum) — required
        Values: `last_value`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_field` (string) — required
        Time field used to determine document recency
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visPercentileOperation**
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color scale configuration for the heatmap cells.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `percentile`
      - `percentile` (number · default: 95) — optional
        Percentile
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visPercentileRanksOperation**
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color scale configuration for the heatmap cells.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `percentile_rank`
      - `rank` (number · default: 0) — optional
        Percentile Rank
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visDifferencesOperation**
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color scale configuration for the heatmap cells.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `of` (union) — required
        Same options as `of` in `Kibana_HTTP_APIs_visDifferencesOperation`
      - `operation` (enum) — required
        Values: `differences`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visMovingAverageOperation**
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color scale configuration for the heatmap cells.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `of` (union) — required
        Same options as `of` in `Kibana_HTTP_APIs_visDifferencesOperation`
      - `operation` (enum) — required
        Values: `moving_average`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
      - `window` (number · default: 5) — optional
        Window
    - **Kibana_HTTP_APIs_visCumulativeSumOperation**
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color scale configuration for the heatmap cells.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `field` (string) — optional
        Field to cumulatively sum. When omitted, cumulative sum is applied to the count of records.
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `cumulative_sum`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visCounterRateOperation**
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color scale configuration for the heatmap cells.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `counter_rate`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visFormulaOperation**
      - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
        Color scale configuration for the heatmap cells.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum) — required
            Values: `auto`
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `formula` (string) — required
        Formula
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `formula`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (enum) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
  - `query` ({}) — optional
    A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
    - `expression` (string) — required
      A query expression in KQL or Lucene syntax
    - `language` (enum  · default: kql) — optional
      Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
      Values: `kql`, `lucene`
  - `sampling` (number · min: 0 · max: 1 · default: 1) — optional
    Sampling factor between 0 (no sampling) and 1 (full sampling).
  - `styling` ({}) — optional
    Visual chart styling options
    - `cells` ({}) — optional
      Cells configuration
      - `labels` (object) — optional
        - `visible` (boolean · default: false) — optional
          Show cell labels
  - `tags` ([] string · max: 1000 · default: []) — optional
    Tag IDs to associate with this visualization.
  - `title` (string) — optional
    The title of the chart displayed in the panel. Optional. Any string value or undefined.
  - `type` (enum) — required
    Values: `heatmap`
  - `x` (union anyOf) — required
    Breakdown dimension configuration using date histogram, terms, numeric histogram, value ranges, or custom filters.
    Same options as `x` in `Kibana_HTTP_APIs_visXyLayerNoESQL`
  - `y` (union anyOf) — optional
    Breakdown dimension configuration using date histogram, terms, numeric histogram, value ranges, or custom filters.
    Same options as `x` in `Kibana_HTTP_APIs_visXyLayerNoESQL`
- **Kibana_HTTP_APIs_tagcloudLibItemNoESQL**
  - `data_source` (union oneOf) — required
    - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
      - `ref_id` (string) — required
        The id of the Kibana data view to use as the data source. Example: "my-data-view".
      - `type` (enum) — required
        Values: `data_view_reference`
    - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
      - `allow_hidden_indices` (boolean) — optional
        When `true`, allows the data view to match hidden indices.
      - `field_filters` ([] object · max: 10000) — optional
        Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
      - `field_settings` (map string to object) — optional
      - `index_pattern` (string · min: 1) — required
        The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
      - `name` (string · min: 1 · max: 256) — optional
        The name of the data view. Example: "Sample data view".
      - `time_field` (string) — optional
        The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
      - `type` (enum) — required
        Values: `data_view_spec`
  - `description` (string) — optional
    The description of the chart. Optional. Any string value or undefined.
  - `filters` ([] object · max: 100) — optional
    Filters applied to the panel
  - `ignore_global_filters` (boolean · default: false) — optional
    When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
  - `metric` (union anyOf) — required
    - **Kibana_HTTP_APIs_visCountMetricOperation**
      - `empty_as_null` (boolean · default: false) — optional
        When `true`, treats empty buckets as null instead of zero.
      - `field` (string) — optional
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `count`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visUniqueCountMetricOperation**
      - `empty_as_null` (boolean · default: false) — optional
        When `true`, treats empty buckets as null instead of zero.
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `unique_count`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visMinMaxAvgMedianStdDevMetricOperation**
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `min`, `max`, `average`, `median`, `standard_deviation`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visSumMetricOperation**
      - `empty_as_null` (boolean · default: false) — optional
        When `true`, treats empty buckets as null instead of zero.
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `sum`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visLastValueOperation**
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `multi_value` (boolean · default: false) — optional
        Whether to return all values for multi-value fields. Only affects data table and metric charts; other charts use the last value from the array.
      - `operation` (enum) — required
        Values: `last_value`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_field` (string) — required
        Time field used to determine document recency
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visPercentileOperation**
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `percentile`
      - `percentile` (number · default: 95) — optional
        Percentile
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visPercentileRanksOperation**
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `percentile_rank`
      - `rank` (number · default: 0) — optional
        Percentile Rank
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visDifferencesOperation**
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `of` (union) — required
        Same options as `of` in `Kibana_HTTP_APIs_visDifferencesOperation`
      - `operation` (enum) — required
        Values: `differences`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visMovingAverageOperation**
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `of` (union) — required
        Same options as `of` in `Kibana_HTTP_APIs_visDifferencesOperation`
      - `operation` (enum) — required
        Values: `moving_average`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
      - `window` (number · default: 5) — optional
        Window
    - **Kibana_HTTP_APIs_visCumulativeSumOperation**
      - `field` (string) — optional
        Field to cumulatively sum. When omitted, cumulative sum is applied to the count of records.
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `cumulative_sum`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visCounterRateOperation**
      - `field` (string) — required
        Field to be used for the metric
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `counter_rate`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (union) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
      - `time_shift` (string) — optional
        Time shift
    - **Kibana_HTTP_APIs_visFormulaOperation**
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `formula` (string) — required
        Formula
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `formula`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (enum) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
  - `query` ({}) — optional
    A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
    - `expression` (string) — required
      A query expression in KQL or Lucene syntax
    - `language` (enum  · default: kql) — optional
      Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
      Values: `kql`, `lucene`
  - `sampling` (number · min: 0 · max: 1 · default: 1) — optional
    Sampling factor between 0 (no sampling) and 1 (full sampling).
  - `styling` ({}) — optional
    Visual chart styling options
    - `caption` (object) — optional
      Caption configuration representing the metric and the tag_by operations labels
      - `visible` (boolean · default: true) — optional
        When `true`, displays the caption.
    - `font_size` (object) — optional
      Font size range for tags.
      - `max` (number · max: 120 · default: 72) — optional
        Maximum font size.
      - `min` (number · min: 1 · default: 18) — optional
        Minimum font size.
    - `orientation` (enum) — optional
      Orientation
      Values: `horizontal`, `vertical`, `angled`
  - `tag_by` (union anyOf) — required
    - **Kibana_HTTP_APIs_visDateHistogramOperation**
      - `color` (union  · default: {
  "mapping": [],
  "mode": "categorical",
  "palette": "default"
}) — optional
        Color mapping for dimension values, either categorical (for specific values) or as a gradient.
        Same options as `color` in `Kibana_HTTP_APIs_visDateHistogramOperation`
      - `drop_partial_intervals` (boolean · default: false) — optional
        When `true`, drops partial intervals from the results.
      - `field` (string) — required
        Field to be used for the date histogram.
      - `include_empty_rows` (boolean · default: true) — optional
        When `true`, includes empty rows in the results.
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `date_histogram`
      - `suggested_interval` (string · default: auto) — optional
        Suggested time interval.
      - `use_original_time_range` (boolean · default: false) — optional
        When `true`, uses the original time range instead of the current query time range.
    - **Kibana_HTTP_APIs_visTermsOperation**
      - `color` (union  · default: {
  "mapping": [],
  "mode": "categorical",
  "palette": "default"
}) — optional
        Color mapping for dimension values, either categorical (for specific values) or as a gradient.
        Same options as `color` in `Kibana_HTTP_APIs_visDateHistogramOperation`
      - `excludes` (object) — optional
        - `as_regex` (boolean) — optional
          When `true`, treats the values as regular expressions.
        - `values` (union [] string | [] number) — required
          Values to exclude.
      - `fields` ([] string · min: 1 · max: 4) — required
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `includes` (object) — optional
        - `as_regex` (boolean) — optional
          When `true`, treats the values as regular expressions.
        - `values` (union [] string | [] number) — required
          Values to include.
      - `increase_accuracy` (boolean) — optional
        When `true`, increases accuracy at the cost of performance.
      - `label` (string) — optional
        Label for the operation
      - `limit` (number · default: 5) — optional
        Number of terms to return.
      - `operation` (enum) — required
        Values: `terms`
      - `other_bucket` (object) — optional
        - `include_documents_without_field` (boolean) — required
          When `true`, includes documents that do not have the specified field.
      - `rank_by` (union anyOf) — optional
        Same options as `rank_by` in `Kibana_HTTP_APIs_visTermsOperation`
    - **Kibana_HTTP_APIs_visHistogramOperation**
      - `color` (union  · default: {
  "mapping": [],
  "mode": "categorical",
  "palette": "default"
}) — optional
        Color mapping for dimension values, either categorical (for specific values) or as a gradient.
        Same options as `color` in `Kibana_HTTP_APIs_visDateHistogramOperation`
      - `field` (string) — required
        Field to be used for the histogram.
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `granularity` (union number | enum · default: auto) — optional
        Values: `auto`
      - `include_empty_rows` (boolean · default: true) — optional
        When `true`, includes empty rows in the results.
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `histogram`
    - **Kibana_HTTP_APIs_visRangesOperation**
      - `color` (union  · default: {
  "mapping": [],
  "mode": "categorical",
  "palette": "default"
}) — optional
        Color mapping for dimension values, either categorical (for specific values) or as a gradient.
        Same options as `color` in `Kibana_HTTP_APIs_visDateHistogramOperation`
      - `field` (string) — required
        Field to be used for the range.
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `range`
      - `ranges` ([] object · max: 100) — required
        - `gt` (number) — optional
          Greater than.
        - `label` (string) — optional
          Label.
        - `lte` (number) — optional
          Less than or equal to.
    - **Kibana_HTTP_APIs_visFiltersOperation**
      - `color` (union  · default: {
  "mapping": [],
  "mode": "categorical",
  "palette": "default"
}) — optional
        Color mapping for dimension values, either categorical (for specific values) or as a gradient.
        Same options as `color` in `Kibana_HTTP_APIs_visDateHistogramOperation`
      - `filters` ([] object · max: 100) — required
        - `filter` ({}) — required
          A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
          - `expression` (string) — required
            A query expression in KQL or Lucene syntax
          - `language` (enum  · default: kql) — optional
            Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
            Values: `kql`, `lucene`
        - `label` (string) — optional
          Label for the filter
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `filters`
  - `tags` ([] string · max: 1000 · default: []) — optional
    Tag IDs to associate with this visualization.
  - `title` (string) — optional
    The title of the chart displayed in the panel. Optional. Any string value or undefined.
  - `type` (enum) — required
    Values: `tag_cloud`
- **Kibana_HTTP_APIs_regionMapLibItemNoESQL**
  - `data_source` (union oneOf) — required
    - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
      - `ref_id` (string) — required
        The id of the Kibana data view to use as the data source. Example: "my-data-view".
      - `type` (enum) — required
        Values: `data_view_reference`
    - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
      - `allow_hidden_indices` (boolean) — optional
        When `true`, allows the data view to match hidden indices.
      - `field_filters` ([] object · max: 10000) — optional
        Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
      - `field_settings` (map string to object) — optional
      - `index_pattern` (string · min: 1) — required
        The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
      - `name` (string · min: 1 · max: 256) — optional
        The name of the data view. Example: "Sample data view".
      - `time_field` (string) — optional
        The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
      - `type` (enum) — required
        Values: `data_view_spec`
  - `description` (string) — optional
    The description of the chart. Optional. Any string value or undefined.
  - `filters` ([] object · max: 100) — optional
    Filters applied to the panel
  - `ignore_global_filters` (boolean · default: false) — optional
    When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
  - `metric` (union anyOf) — required
    Metric dimension using a field-based aggregation or a mathematical formula.
    - **Kibana_HTTP_APIs_visFieldMetricOperations**
    - **Kibana_HTTP_APIs_visFormulaOperation**
      - `filter` ({}) — optional
        A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
        - `expression` (string) — required
          A query expression in KQL or Lucene syntax
        - `language` (enum  · default: kql) — optional
          Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
          Values: `kql`, `lucene`
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `formula` (string) — required
        Formula
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `formula`
      - `reduced_time_range` (string) — optional
        Reduced time range
      - `time_scale` (enum) — optional
        Time scale
        Values: `s`, `m`, `h`, `d`
  - `query` ({}) — optional
    A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
    - `expression` (string) — required
      A query expression in KQL or Lucene syntax
    - `language` (enum  · default: kql) — optional
      Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
      Values: `kql`, `lucene`
  - `region` (union anyOf) — required
    - **Kibana_HTTP_APIs_visDateHistogramOperation**
      - `ems` (object) — optional
        - `boundaries` (string) — required
          EMS boundaries
        - `join` (string) — required
          EMS join field
      - `drop_partial_intervals` (boolean · default: false) — optional
        When `true`, drops partial intervals from the results.
      - `field` (string) — required
        Field to be used for the date histogram.
      - `include_empty_rows` (boolean · default: true) — optional
        When `true`, includes empty rows in the results.
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `date_histogram`
      - `suggested_interval` (string · default: auto) — optional
        Suggested time interval.
      - `use_original_time_range` (boolean · default: false) — optional
        When `true`, uses the original time range instead of the current query time range.
    - **Kibana_HTTP_APIs_visTermsOperation**
      - `ems` (object) — optional
        - `boundaries` (string) — required
          EMS boundaries
        - `join` (string) — required
          EMS join field
      - `excludes` (object) — optional
        - `as_regex` (boolean) — optional
          When `true`, treats the values as regular expressions.
        - `values` (union [] string | [] number) — required
          Values to exclude.
      - `fields` ([] string · min: 1 · max: 4) — required
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `includes` (object) — optional
        - `as_regex` (boolean) — optional
          When `true`, treats the values as regular expressions.
        - `values` (union [] string | [] number) — required
          Values to include.
      - `increase_accuracy` (boolean) — optional
        When `true`, increases accuracy at the cost of performance.
      - `label` (string) — optional
        Label for the operation
      - `limit` (number · default: 5) — optional
        Number of terms to return.
      - `operation` (enum) — required
        Values: `terms`
      - `other_bucket` (object) — optional
        - `include_documents_without_field` (boolean) — required
          When `true`, includes documents that do not have the specified field.
      - `rank_by` (union anyOf) — optional
        Same options as `rank_by` in `Kibana_HTTP_APIs_visTermsOperation`
    - **Kibana_HTTP_APIs_visHistogramOperation**
      - `ems` (object) — optional
        - `boundaries` (string) — required
          EMS boundaries
        - `join` (string) — required
          EMS join field
      - `field` (string) — required
        Field to be used for the histogram.
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `granularity` (union number | enum · default: auto) — optional
        Values: `auto`
      - `include_empty_rows` (boolean · default: true) — optional
        When `true`, includes empty rows in the results.
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `histogram`
    - **Kibana_HTTP_APIs_visRangesOperation**
      - `ems` (object) — optional
        - `boundaries` (string) — required
          EMS boundaries
        - `join` (string) — required
          EMS join field
      - `field` (string) — required
        Field to be used for the range.
      - `format` (union) — optional
        Number display format for the dimension value.
        Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `range`
      - `ranges` ([] object · max: 100) — required
        - `gt` (number) — optional
          Greater than.
        - `label` (string) — optional
          Label.
        - `lte` (number) — optional
          Less than or equal to.
    - **Kibana_HTTP_APIs_visFiltersOperation**
      - `ems` (object) — optional
        - `boundaries` (string) — required
          EMS boundaries
        - `join` (string) — required
          EMS join field
      - `filters` ([] object · max: 100) — required
        - `filter` ({}) — required
          A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
          - `expression` (string) — required
            A query expression in KQL or Lucene syntax
          - `language` (enum  · default: kql) — optional
            Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
            Values: `kql`, `lucene`
        - `label` (string) — optional
          Label for the filter
      - `label` (string) — optional
        Label for the operation
      - `operation` (enum) — required
        Values: `filters`
  - `sampling` (number · min: 0 · max: 1 · default: 1) — optional
    Sampling factor between 0 (no sampling) and 1 (full sampling).
  - `tags` ([] string · max: 1000 · default: []) — optional
    Tag IDs to associate with this visualization.
  - `title` (string) — optional
    The title of the chart displayed in the panel. Optional. Any string value or undefined.
  - `type` (enum) — required
    Values: `region_map`
- **Kibana_HTTP_APIs_datatableLibItemNoESQL**
  - `data_source` (union oneOf) — required
    - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
      - `ref_id` (string) — required
        The id of the Kibana data view to use as the data source. Example: "my-data-view".
      - `type` (enum) — required
        Values: `data_view_reference`
    - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
      - `allow_hidden_indices` (boolean) — optional
        When `true`, allows the data view to match hidden indices.
      - `field_filters` ([] object · max: 10000) — optional
        Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
      - `field_settings` (map string to object) — optional
      - `index_pattern` (string · min: 1) — required
        The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
      - `name` (string · min: 1 · max: 256) — optional
        The name of the data view. Example: "Sample data view".
      - `time_field` (string) — optional
        The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
      - `type` (enum) — required
        Values: `data_view_spec`
  - `description` (string) — optional
    The description of the chart. Optional. Any string value or undefined.
  - `filters` ([] object · max: 100) — optional
    Filters applied to the panel
  - `ignore_global_filters` (boolean · default: false) — optional
    When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
  - `metrics` ([] union anyOf · min: 1 · max: 1000) — required
    Array of metrics to display as columns in the datatable
    - `alignment` (enum  · default: right) — optional
      Alignment of the columns.
      Values: `left`, `center`, `right`
    - `apply_color_to` (enum) — optional
      Column color target: `value` for cell text, `background` for cell background, or `badge` for a badge overlay.
      Values: `value`, `background`, `badge`
    - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
      Color configuration for datatable metrics. Use dynamic coloring for numeric data and categorical/gradient mode for categorical data.
      - **Kibana_HTTP_APIs_visColorByValue**
        Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
      - **Kibana_HTTP_APIs_visColorMapping**
        Color mapping for dimension values, either categorical (for specific values) or as a gradient.
      - **Kibana_HTTP_APIs_visAutoColor**
        Coloring determined at runtime based on chart defaults
        - `type` (enum) — required
          Values: `auto`
    - `summary` (object) — optional
      Summary row configuration
      - `label` (string) — optional
        Summary row label.
      - `type` (enum) — required
        Type of summary function to apply to the column.
        Values: `sum`, `avg`, `count`, `min`, `max`
    - `visible` (boolean · default: true) — optional
      When `false`, hides the column from the datatable.
    - `width` (number · min: 0) — optional
      Column width in pixels.
  - `query` ({}) — optional
    A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
    - `expression` (string) — required
      A query expression in KQL or Lucene syntax
    - `language` (enum  · default: kql) — optional
      Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
      Values: `kql`, `lucene`
  - `rows` ([] union anyOf · min: 1 · max: 50) — optional
    Array of operations to split the datatable rows by
    - `alignment` (enum  · default: left) — optional
      Alignment of the rows.
      Values: `left`, `center`, `right`
    - `apply_color_to` (enum) — optional
      Column color target: `value` for cell text, `background` for cell background, or `badge` for a badge overlay.
      Values: `value`, `background`, `badge`
    - `click_filter` (boolean · default: false) — optional
      When `true`, enables one-click filtering on cell values.
    - `collapse_by` (union) — optional
      Aggregation function used to collapse a breakdown dimension into a single value.
      Values: `avg`, `sum`, `max`, `min`
    - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
      - **Kibana_HTTP_APIs_visColorMapping**
        Color mapping for dimension values, either categorical (for specific values) or as a gradient.
      - **Kibana_HTTP_APIs_visAutoColor**
        Coloring determined at runtime based on chart defaults
        - `type` (enum) — required
          Values: `auto`
    - `visible` (boolean · default: true) — optional
      When `false`, hides the column from the datatable.
    - `width` (number · min: 0) — optional
      Column width in pixels.
  - `sampling` (number · min: 0 · max: 1 · default: 1) — optional
    Sampling factor between 0 (no sampling) and 1 (full sampling).
  - `split_metrics_by` ([] union anyOf · min: 1 · max: 20) — optional
    Array of operations to split the metric columns by
    Same options as `x` in `Kibana_HTTP_APIs_visXyLayerNoESQL`
  - `styling` ({}) — optional
    Visual chart styling options
    - `density` ({}) — optional
      Density configuration for the datatable.
      - `height` (object) — optional
        - `header` (union anyOf) — optional
          Number of lines before the header is truncated.
          - **type: auto**
            - `type` (enum) — required
              Values: `auto`
          - **type: custom**
            - `max_lines` (number · min: 1 · max: 5 · default: 3) — optional
            - `type` (enum) — required
              Values: `custom`
        - `value` (union anyOf) — optional
          Number of lines to display per table body cell.
          - **type: auto**
            - `type` (enum) — required
              Values: `auto`
          - **type: custom**
            - `lines` (number · min: 1 · max: 20 · default: 1) — optional
            - `type` (enum) — required
              Values: `custom`
      - `mode` (enum  · default: default) — optional
        Display density mode.
        Values: `compact`, `default`, `expanded`
    - `paging` (enum) — optional
      Rows per page. When set, pagination is enabled with the specified number of rows.
      Values: `10`, `20`, `30`, `50`, `100`
    - `row_numbers` (object) — optional
      Configuration for row numbers
      - `visible` (boolean) — required
        When `true`, displays row numbers.
    - `sort_by` (union anyOf) — optional
      Sorting configuration. Only one column can be sorted at a time. Use "column_type" to specify the column type.
      - **object**
        Sort by a metric or row column
        - `column_type` (enum) — required
          Type of column to sort by.
          Values: `metric`, `row`
        - `direction` (enum) — required
          Direction
          Values: `asc`, `desc`
        - `index` (number · min: 0) — required
          Index of the column or row to sort by (0-based).
      - **column_type: pivoted_metric**
        Sort by a pivoted metric column (created when metrics are pivoted by split_metrics_by)
        - `column_type` (enum) — required
          Values: `pivoted_metric`
        - `direction` (enum) — required
          Direction
          Values: `asc`, `desc`
        - `index` (number · min: 0) — required
          0-based index into the "metrics" array for the metric to sort; use "values" to identify the pivoted column
        - `values` ([] string · min: 1 · max: 20) — required
          Array of pivot values, one for each split_metrics_by column in order
  - `tags` ([] string · max: 1000 · default: []) — optional
    Tag IDs to associate with this visualization.
  - `title` (string) — optional
    The title of the chart displayed in the panel. Optional. Any string value or undefined.
  - `type` (enum) — required
    Values: `data_table`
- **Kibana_HTTP_APIs_pieLibItemNoESQL**
  - `data_source` (union oneOf) — required
    - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
      - `ref_id` (string) — required
        The id of the Kibana data view to use as the data source. Example: "my-data-view".
      - `type` (enum) — required
        Values: `data_view_reference`
    - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
      - `allow_hidden_indices` (boolean) — optional
        When `true`, allows the data view to match hidden indices.
      - `field_filters` ([] object · max: 10000) — optional
        Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
      - `field_settings` (map string to object) — optional
      - `index_pattern` (string · min: 1) — required
        The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
      - `name` (string · min: 1 · max: 256) — optional
        The name of the data view. Example: "Sample data view".
      - `time_field` (string) — optional
        The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
      - `type` (enum) — required
        Values: `data_view_spec`
  - `description` (string) — optional
    The description of the chart. Optional. Any string value or undefined.
  - `filters` ([] object · max: 100) — optional
    Filters applied to the panel
  - `group_by` ([] union anyOf · min: 1 · max: 100) — optional
    Array of breakdown dimensions (minimum 1)
    - `collapse_by` (union) — optional
      Aggregation function used to collapse a breakdown dimension into a single value.
      Values: `avg`, `sum`, `max`, `min`
    - `color` (union  · default: {
  "mapping": [],
  "mode": "categorical",
  "palette": "default"
}) — optional
      Color mapping for dimension values, either categorical (for specific values) or as a gradient.
      Same options as `color` in `Kibana_HTTP_APIs_visDateHistogramOperation`
  - `ignore_global_filters` (boolean · default: false) — optional
    When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
  - `legend` ({}) — optional
    Legend configuration for pie chart
    - `nested` (boolean · default: false) — optional
      Show nested legend with hierarchical breakdown levels
    - `position` (enum  · default: right) — optional
      Legend Position.
      Values: `top`, `bottom`, `left`, `right`
    - `size` (union) — optional
      Legend size.
      Values: `auto`, `s`, `m`, `l`, `xl`
    - `truncate_after_lines` (number · min: 1 · max: 10 · default: 1) — optional
      Number of lines before legend items are truncated.
    - `visibility` (enum) — optional
      Legend visibility.
      Values: `auto`, `visible`, `hidden`
  - `metrics` ([] union anyOf · min: 1 · max: 100) — required
    Array of metric configurations (minimum 1)
    - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
      - **Kibana_HTTP_APIs_visStaticColor**
        Fixed color for all values in the dimension.
        - `color` (string) — required
          The static color to be used for all values.
        - `type` (enum) — required
          Values: `static`
      - **Kibana_HTTP_APIs_visAutoColor**
        Coloring determined at runtime based on chart defaults
        - `type` (enum) — required
          Values: `auto`
  - `query` ({}) — optional
    A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
    - `expression` (string) — required
      A query expression in KQL or Lucene syntax
    - `language` (enum  · default: kql) — optional
      Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
      Values: `kql`, `lucene`
  - `sampling` (number · min: 0 · max: 1 · default: 1) — optional
    Sampling factor between 0 (no sampling) and 1 (full sampling).
  - `styling` ({}) — optional
    Visual chart styling options
    - `donut_hole` (enum) — optional
      Donut hole size. Accepted values: `none` (full pie), `s`, `m`, `l`.
      Values: `none`, `s`, `m`, `l`
    - `labels` (object) — optional
      Label configuration for pie chart slice labels inside or outside the pie
      - `position` (enum) — optional
        Slice label position: `inside` or `outside`.
        Values: `inside`, `outside`
      - `visible` (boolean) — optional
        When `true`, displays slice labels.
    - `values` ({}) — optional
      Configure the visibility and the format of the values rendered on each chart partition section
      - `mode` (enum) — optional
        How to format values when visible.
        Values: `absolute`, `percentage`
      - `percent_decimals` (number · min: 0 · max: 10 · default: 2) — optional
        Decimal places for percentage display (0-10)
      - `visible` (boolean) — optional
        Show metric values on the chart
  - `tags` ([] string · max: 1000 · default: []) — optional
    Tag IDs to associate with this visualization.
  - `title` (string) — optional
    The title of the chart displayed in the panel. Optional. Any string value or undefined.
  - `type` (enum) — required
    Values: `pie`
- **Kibana_HTTP_APIs_mosaicLibItemNoESQL**
  - `data_source` (union oneOf) — required
    - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
      - `ref_id` (string) — required
        The id of the Kibana data view to use as the data source. Example: "my-data-view".
      - `type` (enum) — required
        Values: `data_view_reference`
    - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
      - `allow_hidden_indices` (boolean) — optional
        When `true`, allows the data view to match hidden indices.
      - `field_filters` ([] object · max: 10000) — optional
        Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
      - `field_settings` (map string to object) — optional
      - `index_pattern` (string · min: 1) — required
        The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
      - `name` (string · min: 1 · max: 256) — optional
        The name of the data view. Example: "Sample data view".
      - `time_field` (string) — optional
        The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
      - `type` (enum) — required
        Values: `data_view_spec`
  - `description` (string) — optional
    The description of the chart. Optional. Any string value or undefined.
  - `filters` ([] object · max: 100) — optional
    Filters applied to the panel
  - `group_breakdown_by` ([] union anyOf · min: 1 · max: 100) — optional
    Array of group breakdown dimensions (minimum 1)
    - `collapse_by` (union) — optional
      Aggregation function used to collapse a breakdown dimension into a single value.
      Values: `avg`, `sum`, `max`, `min`
  - `group_by` ([] union anyOf · min: 1 · max: 100) — optional
    Array of breakdown dimensions (minimum 1)
    - `collapse_by` (union) — optional
      Aggregation function used to collapse a breakdown dimension into a single value.
      Values: `avg`, `sum`, `max`, `min`
    - `color` (union  · default: {
  "mapping": [],
  "mode": "categorical",
  "palette": "default"
}) — optional
      Color mapping for dimension values, either categorical (for specific values) or as a gradient.
      Same options as `color` in `Kibana_HTTP_APIs_visDateHistogramOperation`
  - `ignore_global_filters` (boolean · default: false) — optional
    When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
  - `legend` ({}) — optional
    Legend configuration for mosaic chart appearance and behavior
    - `nested` (boolean · default: false) — optional
      Show nested legend with hierarchical breakdown levels
    - `position` (enum  · default: right) — optional
      Legend Position.
      Values: `top`, `bottom`, `left`, `right`
    - `size` (union) — optional
      Legend size.
      Values: `auto`, `s`, `m`, `l`, `xl`
    - `truncate_after_lines` (number · min: 1 · max: 10 · default: 1) — optional
      Number of lines before legend items are truncated.
    - `visibility` (enum) — optional
      Legend visibility.
      Values: `auto`, `visible`, `hidden`
  - `metric` (union anyOf) — required
    Same options as `metric` in `Kibana_HTTP_APIs_tagcloudLibItemNoESQL`
  - `query` ({}) — optional
    A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
    - `expression` (string) — required
      A query expression in KQL or Lucene syntax
    - `language` (enum  · default: kql) — optional
      Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
      Values: `kql`, `lucene`
  - `sampling` (number · min: 0 · max: 1 · default: 1) — optional
    Sampling factor between 0 (no sampling) and 1 (full sampling).
  - `styling` ({}) — optional
    Visual chart styling options
    - `values` ({}) — optional
      Configure the visibility and the format of the values rendered on each chart partition section
      - `mode` (enum) — optional
        How to format values when visible.
        Values: `absolute`, `percentage`
      - `percent_decimals` (number · min: 0 · max: 10 · default: 2) — optional
        Decimal places for percentage display (0-10)
      - `visible` (boolean) — optional
        Show metric values on the chart
  - `tags` ([] string · max: 1000 · default: []) — optional
    Tag IDs to associate with this visualization.
  - `title` (string) — optional
    The title of the chart displayed in the panel. Optional. Any string value or undefined.
  - `type` (enum) — required
    Values: `mosaic`
- **Kibana_HTTP_APIs_treemapLibItemNoESQL**
  - `data_source` (union oneOf) — required
    - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
      - `ref_id` (string) — required
        The id of the Kibana data view to use as the data source. Example: "my-data-view".
      - `type` (enum) — required
        Values: `data_view_reference`
    - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
      - `allow_hidden_indices` (boolean) — optional
        When `true`, allows the data view to match hidden indices.
      - `field_filters` ([] object · max: 10000) — optional
        Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
      - `field_settings` (map string to object) — optional
      - `index_pattern` (string · min: 1) — required
        The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
      - `name` (string · min: 1 · max: 256) — optional
        The name of the data view. Example: "Sample data view".
      - `time_field` (string) — optional
        The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
      - `type` (enum) — required
        Values: `data_view_spec`
  - `description` (string) — optional
    The description of the chart. Optional. Any string value or undefined.
  - `filters` ([] object · max: 100) — optional
    Filters applied to the panel
  - `group_by` ([] union anyOf · min: 1 · max: 100) — optional
    Array of breakdown dimensions (minimum 1)
    - `collapse_by` (union) — optional
      Aggregation function used to collapse a breakdown dimension into a single value.
      Values: `avg`, `sum`, `max`, `min`
    - `color` (union  · default: {
  "mapping": [],
  "mode": "categorical",
  "palette": "default"
}) — optional
      Color mapping for dimension values, either categorical (for specific values) or as a gradient.
      Same options as `color` in `Kibana_HTTP_APIs_visDateHistogramOperation`
  - `ignore_global_filters` (boolean · default: false) — optional
    When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
  - `legend` ({}) — optional
    Configuration for the treemap chart legend appearance and behavior
    - `nested` (boolean · default: false) — optional
      Show nested legend with hierarchical breakdown levels
    - `position` (enum  · default: right) — optional
      Legend Position.
      Values: `top`, `bottom`, `left`, `right`
    - `size` (union) — optional
      Legend size.
      Values: `auto`, `s`, `m`, `l`, `xl`
    - `truncate_after_lines` (number · min: 1 · max: 10 · default: 1) — optional
      Number of lines before legend items are truncated.
    - `visibility` (enum) — optional
      Legend visibility.
      Values: `auto`, `visible`, `hidden`
  - `metrics` ([] union anyOf · min: 1 · max: 100) — required
    Array of metric configurations (minimum 1)
    - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
      - **Kibana_HTTP_APIs_visStaticColor**
        Fixed color for all values in the dimension.
        - `color` (string) — required
          The static color to be used for all values.
        - `type` (enum) — required
          Values: `static`
      - **Kibana_HTTP_APIs_visAutoColor**
        Coloring determined at runtime based on chart defaults
        - `type` (enum) — required
          Values: `auto`
  - `query` ({}) — optional
    A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
    - `expression` (string) — required
      A query expression in KQL or Lucene syntax
    - `language` (enum  · default: kql) — optional
      Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
      Values: `kql`, `lucene`
  - `sampling` (number · min: 0 · max: 1 · default: 1) — optional
    Sampling factor between 0 (no sampling) and 1 (full sampling).
  - `styling` ({}) — optional
    Visual chart styling options
    - `labels` (object) — optional
      Labels configuration
      - `visible` (boolean) — optional
        Show category labels
    - `values` ({}) — optional
      Configure the visibility and the format of the values rendered on each chart partition section
      - `mode` (enum) — optional
        How to format values when visible.
        Values: `absolute`, `percentage`
      - `percent_decimals` (number · min: 0 · max: 10 · default: 2) — optional
        Decimal places for percentage display (0-10)
      - `visible` (boolean) — optional
        Show metric values on the chart
  - `tags` ([] string · max: 1000 · default: []) — optional
    Tag IDs to associate with this visualization.
  - `title` (string) — optional
    The title of the chart displayed in the panel. Optional. Any string value or undefined.
  - `type` (enum) — required
    Values: `treemap`
- **Kibana_HTTP_APIs_waffleLibItemNoESQL**
  - `data_source` (union oneOf) — required
    - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
      - `ref_id` (string) — required
        The id of the Kibana data view to use as the data source. Example: "my-data-view".
      - `type` (enum) — required
        Values: `data_view_reference`
    - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
      - `allow_hidden_indices` (boolean) — optional
        When `true`, allows the data view to match hidden indices.
      - `field_filters` ([] object · max: 10000) — optional
        Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
      - `field_settings` (map string to object) — optional
      - `index_pattern` (string · min: 1) — required
        The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
      - `name` (string · min: 1 · max: 256) — optional
        The name of the data view. Example: "Sample data view".
      - `time_field` (string) — optional
        The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
      - `type` (enum) — required
        Values: `data_view_spec`
  - `description` (string) — optional
    The description of the chart. Optional. Any string value or undefined.
  - `filters` ([] object · max: 100) — optional
    Filters applied to the panel
  - `group_by` ([] union anyOf · min: 1 · max: 100) — optional
    Array of breakdown dimensions (minimum 1)
    - `collapse_by` (union) — optional
      Aggregation function used to collapse a breakdown dimension into a single value.
      Values: `avg`, `sum`, `max`, `min`
    - `color` (union  · default: {
  "mapping": [],
  "mode": "categorical",
  "palette": "default"
}) — optional
      Color mapping for dimension values, either categorical (for specific values) or as a gradient.
      Same options as `color` in `Kibana_HTTP_APIs_visDateHistogramOperation`
  - `ignore_global_filters` (boolean · default: false) — optional
    When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
  - `legend` ({}) — optional
    Legend configuration for waffle chart
    - `position` (enum  · default: right) — optional
      Legend Position.
      Values: `top`, `bottom`, `left`, `right`
    - `size` (union) — optional
      Legend size.
      Values: `auto`, `s`, `m`, `l`, `xl`
    - `truncate_after_lines` (number · min: 1 · max: 10 · default: 1) — optional
      Number of lines before legend items are truncated.
    - `values` ([] enum  · min: 1 · max: 1) — optional
      Values: `absolute`
    - `visibility` (enum) — optional
      Legend visibility.
      Values: `auto`, `visible`, `hidden`
  - `metrics` ([] union anyOf · min: 1 · max: 100) — required
    Array of metric configurations (minimum 1)
    - `color` (union anyOf · default: {
  "type": "auto"
}) — optional
      - **Kibana_HTTP_APIs_visStaticColor**
        Fixed color for all values in the dimension.
        - `color` (string) — required
          The static color to be used for all values.
        - `type` (enum) — required
          Values: `static`
      - **Kibana_HTTP_APIs_visAutoColor**
        Coloring determined at runtime based on chart defaults
        - `type` (enum) — required
          Values: `auto`
  - `query` ({}) — optional
    A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
    - `expression` (string) — required
      A query expression in KQL or Lucene syntax
    - `language` (enum  · default: kql) — optional
      Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
      Values: `kql`, `lucene`
  - `sampling` (number · min: 0 · max: 1 · default: 1) — optional
    Sampling factor between 0 (no sampling) and 1 (full sampling).
  - `styling` ({}) — optional
    Visual chart styling options
    - `values` ({}) — optional
      Configure the visibility and the format of the values rendered on each chart partition section
      - `mode` (enum) — optional
        How to format values when visible.
        Values: `absolute`, `percentage`
      - `percent_decimals` (number · min: 0 · max: 10 · default: 2) — optional
        Decimal places for percentage display (0-10)
      - `visible` (boolean) — optional
        Show metric values on the chart
  - `tags` ([] string · max: 1000 · default: []) — optional
    Tag IDs to associate with this visualization.
  - `title` (string) — optional
    The title of the chart displayed in the panel. Optional. Any string value or undefined.
  - `type` (enum) — required
    Values: `waffle`

## Responses

#### `200`

Ok

`application/json`

- `data` (union)
  - **Kibana_HTTP_APIs_metricLibItemNoESQL**
    - `breakdown_by` (union anyOf)
      Same options as `breakdown_by` in `Kibana_HTTP_APIs_metricLibItemNoESQL`
    - `data_source` (union oneOf)
      - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
        - `ref_id` (string)
          The id of the Kibana data view to use as the data source. Example: "my-data-view".
        - `type` (enum)
          Values: `data_view_reference`
      - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
        - `allow_hidden_indices` (boolean)
          When `true`, allows the data view to match hidden indices.
        - `field_filters` ([] object · max: 10000)
          Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
        - `field_settings` (map string to object)
        - `index_pattern` (string · min: 1)
          The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
        - `name` (string · min: 1 · max: 256)
          The name of the data view. Example: "Sample data view".
        - `time_field` (string)
          The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
        - `type` (enum)
          Values: `data_view_spec`
    - `description` (string)
      The description of the chart. Optional. Any string value or undefined.
    - `filters` ([] object · max: 100)
      Filters applied to the panel
    - `ignore_global_filters` (boolean · default: false)
      When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
    - `metrics` ([] union anyOf · min: 1 · max: 2)
      Metric dimensions to display. The first must be a primary metric; an optional second must be a secondary metric.
      Same options as `metrics` in `Kibana_HTTP_APIs_metricLibItemNoESQL`
    - `query` ({})
      A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
      - `expression` (string)
        A query expression in KQL or Lucene syntax
      - `language` (enum  · default: kql)
        Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
        Values: `kql`, `lucene`
    - `sampling` (number · min: 0 · max: 1 · default: 1)
      Sampling factor between 0 (no sampling) and 1 (full sampling).
    - `styling` ({})
      Visual chart styling options
      Same fields as `styling` in `Kibana_HTTP_APIs_metricLibItemNoESQL`
    - `tags` ([] string · max: 1000 · default: [])
      Tag IDs to associate with this visualization.
    - `title` (string)
      The title of the chart displayed in the panel. Optional. Any string value or undefined.
    - `type` (enum)
      Values: `metric`
  - **Kibana_HTTP_APIs_legacyMetricLibItemNoESQL**
    - `data_source` (union oneOf)
      - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
        - `ref_id` (string)
          The id of the Kibana data view to use as the data source. Example: "my-data-view".
        - `type` (enum)
          Values: `data_view_reference`
      - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
        - `allow_hidden_indices` (boolean)
          When `true`, allows the data view to match hidden indices.
        - `field_filters` ([] object · max: 10000)
          Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
        - `field_settings` (map string to object)
        - `index_pattern` (string · min: 1)
          The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
        - `name` (string · min: 1 · max: 256)
          The name of the data view. Example: "Sample data view".
        - `time_field` (string)
          The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
        - `type` (enum)
          Values: `data_view_spec`
    - `description` (string)
      The description of the chart. Optional. Any string value or undefined.
    - `filters` ([] object · max: 100)
      Filters applied to the panel
    - `ignore_global_filters` (boolean · default: false)
      When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
    - `metric` (union anyOf)
      Same options as `metric` in `Kibana_HTTP_APIs_legacyMetricLibItemNoESQL`
    - `query` ({})
      A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
      - `expression` (string)
        A query expression in KQL or Lucene syntax
      - `language` (enum  · default: kql)
        Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
        Values: `kql`, `lucene`
    - `sampling` (number · min: 0 · max: 1 · default: 1)
      Sampling factor between 0 (no sampling) and 1 (full sampling).
    - `tags` ([] string · max: 1000 · default: [])
      Tag IDs to associate with this visualization.
    - `title` (string)
      The title of the chart displayed in the panel. Optional. Any string value or undefined.
    - `type` (enum)
      Values: `legacy_metric`
  - **Kibana_HTTP_APIs_xyLibItemNoESQL**
    - `axis` ({})
      Axis configuration for X, Y, and Y2 axes. The Y axis is on the start (leading) side, the Y2 axis is on the end (trailing) side.
      Same fields as `axis` in `Kibana_HTTP_APIs_xyLibItemNoESQL`
    - `description` (string)
      The description of the chart. Optional. Any string value or undefined.
    - `filters` ([] object · max: 100)
      Filters applied to the panel
    - `layers` ([] union  · min: 1 · max: 100)
      Chart layers
      Same options as `layers` in `Kibana_HTTP_APIs_xyLibItemNoESQL`
    - `legend` (union)
      Legend configuration for XY chart
      Same options as `legend` in `Kibana_HTTP_APIs_xyLibItemNoESQL`
    - `query` ({})
      A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
      - `expression` (string)
        A query expression in KQL or Lucene syntax
      - `language` (enum  · default: kql)
        Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
        Values: `kql`, `lucene`
    - `styling` ({})
      Visual styling options for the chart
      Same fields as `styling` in `Kibana_HTTP_APIs_xyLibItemNoESQL`
    - `tags` ([] string · max: 1000 · default: [])
      Tag IDs to associate with this visualization.
    - `title` (string)
      The title of the chart displayed in the panel. Optional. Any string value or undefined.
    - `type` (enum)
      Values: `xy`
  - **Kibana_HTTP_APIs_gaugeLibItemNoESQL**
    - `data_source` (union oneOf)
      - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
        - `ref_id` (string)
          The id of the Kibana data view to use as the data source. Example: "my-data-view".
        - `type` (enum)
          Values: `data_view_reference`
      - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
        - `allow_hidden_indices` (boolean)
          When `true`, allows the data view to match hidden indices.
        - `field_filters` ([] object · max: 10000)
          Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
        - `field_settings` (map string to object)
        - `index_pattern` (string · min: 1)
          The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
        - `name` (string · min: 1 · max: 256)
          The name of the data view. Example: "Sample data view".
        - `time_field` (string)
          The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
        - `type` (enum)
          Values: `data_view_spec`
    - `description` (string)
      The description of the chart. Optional. Any string value or undefined.
    - `filters` ([] object · max: 100)
      Filters applied to the panel
    - `ignore_global_filters` (boolean · default: false)
      When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
    - `metric` (union anyOf)
      Same options as `metric` in `Kibana_HTTP_APIs_gaugeLibItemNoESQL`
    - `query` ({})
      A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
      - `expression` (string)
        A query expression in KQL or Lucene syntax
      - `language` (enum  · default: kql)
        Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
        Values: `kql`, `lucene`
    - `sampling` (number · min: 0 · max: 1 · default: 1)
      Sampling factor between 0 (no sampling) and 1 (full sampling).
    - `styling` ({})
      Visual chart styling options
      - `shape` (union anyOf · default: {
  "orientation": "horizontal",
  "type": "bullet"
})
        - **Kibana_HTTP_APIs_visGaugeShapeBullet**
          Bullet gauge shape.
          - `orientation` (enum)
            Orientation
            Values: `horizontal`, `vertical`
          - `type` (enum)
            Values: `bullet`
        - **Kibana_HTTP_APIs_visGaugeShapeCircular**
          Circular gauge shape.
          - `type` (enum)
            Values: `circle`, `semi_circle`, `arc`
    - `tags` ([] string · max: 1000 · default: [])
      Tag IDs to associate with this visualization.
    - `title` (string)
      The title of the chart displayed in the panel. Optional. Any string value or undefined.
    - `type` (enum)
      Values: `gauge`
  - **Kibana_HTTP_APIs_heatmapLibItemNoESQL**
    - `axis` ({})
      Axis configuration for X and Y axes
      Same fields as `axis` in `Kibana_HTTP_APIs_heatmapLibItemNoESQL`
    - `data_source` (union oneOf)
      - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
        - `ref_id` (string)
          The id of the Kibana data view to use as the data source. Example: "my-data-view".
        - `type` (enum)
          Values: `data_view_reference`
      - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
        - `allow_hidden_indices` (boolean)
          When `true`, allows the data view to match hidden indices.
        - `field_filters` ([] object · max: 10000)
          Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
        - `field_settings` (map string to object)
        - `index_pattern` (string · min: 1)
          The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
        - `name` (string · min: 1 · max: 256)
          The name of the data view. Example: "Sample data view".
        - `time_field` (string)
          The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
        - `type` (enum)
          Values: `data_view_spec`
    - `description` (string)
      The description of the chart. Optional. Any string value or undefined.
    - `filters` ([] object · max: 100)
      Filters applied to the panel
    - `ignore_global_filters` (boolean · default: false)
      When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
    - `legend` ({})
      Legend configuration
      - `position` (enum)
        Values: `top`, `bottom`, `left`, `right`
      - `size` (union)
        Legend size.
        Values: `auto`, `s`, `m`, `l`, `xl`
      - `truncate_after_lines` (number · min: 1 · max: 10 · default: 1)
        Number of lines before legend items are truncated.
      - `visibility` (enum)
        Legend visibility.
        Values: `visible`, `hidden`
    - `metric` (union anyOf)
      Same options as `metric` in `Kibana_HTTP_APIs_heatmapLibItemNoESQL`
    - `query` ({})
      A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
      - `expression` (string)
        A query expression in KQL or Lucene syntax
      - `language` (enum  · default: kql)
        Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
        Values: `kql`, `lucene`
    - `sampling` (number · min: 0 · max: 1 · default: 1)
      Sampling factor between 0 (no sampling) and 1 (full sampling).
    - `styling` ({})
      Visual chart styling options
      - `cells` ({})
        Cells configuration
        - `labels` (object)
          - `visible` (boolean · default: false)
            Show cell labels
    - `tags` ([] string · max: 1000 · default: [])
      Tag IDs to associate with this visualization.
    - `title` (string)
      The title of the chart displayed in the panel. Optional. Any string value or undefined.
    - `type` (enum)
      Values: `heatmap`
    - `x` (union anyOf)
      Breakdown dimension configuration using date histogram, terms, numeric histogram, value ranges, or custom filters.
      Same options as `x` in `Kibana_HTTP_APIs_visXyLayerNoESQL`
    - `y` (union anyOf)
      Breakdown dimension configuration using date histogram, terms, numeric histogram, value ranges, or custom filters.
      Same options as `x` in `Kibana_HTTP_APIs_visXyLayerNoESQL`
  - **Kibana_HTTP_APIs_tagcloudLibItemNoESQL**
    - `data_source` (union oneOf)
      - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
        - `ref_id` (string)
          The id of the Kibana data view to use as the data source. Example: "my-data-view".
        - `type` (enum)
          Values: `data_view_reference`
      - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
        - `allow_hidden_indices` (boolean)
          When `true`, allows the data view to match hidden indices.
        - `field_filters` ([] object · max: 10000)
          Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
        - `field_settings` (map string to object)
        - `index_pattern` (string · min: 1)
          The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
        - `name` (string · min: 1 · max: 256)
          The name of the data view. Example: "Sample data view".
        - `time_field` (string)
          The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
        - `type` (enum)
          Values: `data_view_spec`
    - `description` (string)
      The description of the chart. Optional. Any string value or undefined.
    - `filters` ([] object · max: 100)
      Filters applied to the panel
    - `ignore_global_filters` (boolean · default: false)
      When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
    - `metric` (union anyOf)
      Same options as `metric` in `Kibana_HTTP_APIs_tagcloudLibItemNoESQL`
    - `query` ({})
      A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
      - `expression` (string)
        A query expression in KQL or Lucene syntax
      - `language` (enum  · default: kql)
        Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
        Values: `kql`, `lucene`
    - `sampling` (number · min: 0 · max: 1 · default: 1)
      Sampling factor between 0 (no sampling) and 1 (full sampling).
    - `styling` ({})
      Visual chart styling options
      - `caption` (object)
        Caption configuration representing the metric and the tag_by operations labels
        - `visible` (boolean · default: true)
          When `true`, displays the caption.
      - `font_size` (object)
        Font size range for tags.
        - `max` (number · max: 120 · default: 72)
          Maximum font size.
        - `min` (number · min: 1 · default: 18)
          Minimum font size.
      - `orientation` (enum)
        Orientation
        Values: `horizontal`, `vertical`, `angled`
    - `tag_by` (union anyOf)
      Same options as `tag_by` in `Kibana_HTTP_APIs_tagcloudLibItemNoESQL`
    - `tags` ([] string · max: 1000 · default: [])
      Tag IDs to associate with this visualization.
    - `title` (string)
      The title of the chart displayed in the panel. Optional. Any string value or undefined.
    - `type` (enum)
      Values: `tag_cloud`
  - **Kibana_HTTP_APIs_regionMapLibItemNoESQL**
    - `data_source` (union oneOf)
      - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
        - `ref_id` (string)
          The id of the Kibana data view to use as the data source. Example: "my-data-view".
        - `type` (enum)
          Values: `data_view_reference`
      - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
        - `allow_hidden_indices` (boolean)
          When `true`, allows the data view to match hidden indices.
        - `field_filters` ([] object · max: 10000)
          Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
        - `field_settings` (map string to object)
        - `index_pattern` (string · min: 1)
          The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
        - `name` (string · min: 1 · max: 256)
          The name of the data view. Example: "Sample data view".
        - `time_field` (string)
          The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
        - `type` (enum)
          Values: `data_view_spec`
    - `description` (string)
      The description of the chart. Optional. Any string value or undefined.
    - `filters` ([] object · max: 100)
      Filters applied to the panel
    - `ignore_global_filters` (boolean · default: false)
      When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
    - `metric` (union anyOf)
      Metric dimension using a field-based aggregation or a mathematical formula.
      - **Kibana_HTTP_APIs_visFieldMetricOperations**
      - **Kibana_HTTP_APIs_visFormulaOperation**
        - `filter` ({})
          A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
          - `expression` (string)
            A query expression in KQL or Lucene syntax
          - `language` (enum  · default: kql)
            Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
            Values: `kql`, `lucene`
        - `format` (union)
          Number display format for the dimension value.
          Same options as `format` in `Kibana_HTTP_APIs_visTermsOperation`
        - `formula` (string)
          Formula
        - `label` (string)
          Label for the operation
        - `operation` (enum)
          Values: `formula`
        - `reduced_time_range` (string)
          Reduced time range
        - `time_scale` (enum)
          Time scale
          Values: `s`, `m`, `h`, `d`
    - `query` ({})
      A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
      - `expression` (string)
        A query expression in KQL or Lucene syntax
      - `language` (enum  · default: kql)
        Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
        Values: `kql`, `lucene`
    - `region` (union anyOf)
      Same options as `region` in `Kibana_HTTP_APIs_regionMapLibItemNoESQL`
    - `sampling` (number · min: 0 · max: 1 · default: 1)
      Sampling factor between 0 (no sampling) and 1 (full sampling).
    - `tags` ([] string · max: 1000 · default: [])
      Tag IDs to associate with this visualization.
    - `title` (string)
      The title of the chart displayed in the panel. Optional. Any string value or undefined.
    - `type` (enum)
      Values: `region_map`
  - **Kibana_HTTP_APIs_datatableLibItemNoESQL**
    - `data_source` (union oneOf)
      - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
        - `ref_id` (string)
          The id of the Kibana data view to use as the data source. Example: "my-data-view".
        - `type` (enum)
          Values: `data_view_reference`
      - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
        - `allow_hidden_indices` (boolean)
          When `true`, allows the data view to match hidden indices.
        - `field_filters` ([] object · max: 10000)
          Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
        - `field_settings` (map string to object)
        - `index_pattern` (string · min: 1)
          The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
        - `name` (string · min: 1 · max: 256)
          The name of the data view. Example: "Sample data view".
        - `time_field` (string)
          The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
        - `type` (enum)
          Values: `data_view_spec`
    - `description` (string)
      The description of the chart. Optional. Any string value or undefined.
    - `filters` ([] object · max: 100)
      Filters applied to the panel
    - `ignore_global_filters` (boolean · default: false)
      When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
    - `metrics` ([] union anyOf · min: 1 · max: 1000)
      Array of metrics to display as columns in the datatable
      - `alignment` (enum  · default: right)
        Alignment of the columns.
        Values: `left`, `center`, `right`
      - `apply_color_to` (enum)
        Column color target: `value` for cell text, `background` for cell background, or `badge` for a badge overlay.
        Values: `value`, `background`, `badge`
      - `color` (union anyOf · default: {
  "type": "auto"
})
        Color configuration for datatable metrics. Use dynamic coloring for numeric data and categorical/gradient mode for categorical data.
        - **Kibana_HTTP_APIs_visColorByValue**
          Dynamic color mapping by numeric range, with support for absolute and percentage-based ranges and for named palettes.
        - **Kibana_HTTP_APIs_visColorMapping**
          Color mapping for dimension values, either categorical (for specific values) or as a gradient.
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum)
            Values: `auto`
      - `summary` (object)
        Summary row configuration
        - `label` (string)
          Summary row label.
        - `type` (enum)
          Type of summary function to apply to the column.
          Values: `sum`, `avg`, `count`, `min`, `max`
      - `visible` (boolean · default: true)
        When `false`, hides the column from the datatable.
      - `width` (number · min: 0)
        Column width in pixels.
    - `query` ({})
      A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
      - `expression` (string)
        A query expression in KQL or Lucene syntax
      - `language` (enum  · default: kql)
        Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
        Values: `kql`, `lucene`
    - `rows` ([] union anyOf · min: 1 · max: 50)
      Array of operations to split the datatable rows by
      - `alignment` (enum  · default: left)
        Alignment of the rows.
        Values: `left`, `center`, `right`
      - `apply_color_to` (enum)
        Column color target: `value` for cell text, `background` for cell background, or `badge` for a badge overlay.
        Values: `value`, `background`, `badge`
      - `click_filter` (boolean · default: false)
        When `true`, enables one-click filtering on cell values.
      - `collapse_by` (union)
        Aggregation function used to collapse a breakdown dimension into a single value.
        Values: `avg`, `sum`, `max`, `min`
      - `color` (union anyOf · default: {
  "type": "auto"
})
        - **Kibana_HTTP_APIs_visColorMapping**
          Color mapping for dimension values, either categorical (for specific values) or as a gradient.
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum)
            Values: `auto`
      - `visible` (boolean · default: true)
        When `false`, hides the column from the datatable.
      - `width` (number · min: 0)
        Column width in pixels.
    - `sampling` (number · min: 0 · max: 1 · default: 1)
      Sampling factor between 0 (no sampling) and 1 (full sampling).
    - `split_metrics_by` ([] union anyOf · min: 1 · max: 20)
      Array of operations to split the metric columns by
      Same options as `x` in `Kibana_HTTP_APIs_visXyLayerNoESQL`
    - `styling` ({})
      Visual chart styling options
      Same fields as `styling` in `Kibana_HTTP_APIs_datatableLibItemNoESQL`
    - `tags` ([] string · max: 1000 · default: [])
      Tag IDs to associate with this visualization.
    - `title` (string)
      The title of the chart displayed in the panel. Optional. Any string value or undefined.
    - `type` (enum)
      Values: `data_table`
  - **Kibana_HTTP_APIs_pieLibItemNoESQL**
    - `data_source` (union oneOf)
      - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
        - `ref_id` (string)
          The id of the Kibana data view to use as the data source. Example: "my-data-view".
        - `type` (enum)
          Values: `data_view_reference`
      - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
        - `allow_hidden_indices` (boolean)
          When `true`, allows the data view to match hidden indices.
        - `field_filters` ([] object · max: 10000)
          Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
        - `field_settings` (map string to object)
        - `index_pattern` (string · min: 1)
          The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
        - `name` (string · min: 1 · max: 256)
          The name of the data view. Example: "Sample data view".
        - `time_field` (string)
          The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
        - `type` (enum)
          Values: `data_view_spec`
    - `description` (string)
      The description of the chart. Optional. Any string value or undefined.
    - `filters` ([] object · max: 100)
      Filters applied to the panel
    - `group_by` ([] union anyOf · min: 1 · max: 100)
      Array of breakdown dimensions (minimum 1)
      - `collapse_by` (union)
        Aggregation function used to collapse a breakdown dimension into a single value.
        Values: `avg`, `sum`, `max`, `min`
      - `color` (union  · default: {
  "mapping": [],
  "mode": "categorical",
  "palette": "default"
})
        Color mapping for dimension values, either categorical (for specific values) or as a gradient.
        Same options as `color` in `Kibana_HTTP_APIs_visDateHistogramOperation`
    - `ignore_global_filters` (boolean · default: false)
      When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
    - `legend` ({})
      Legend configuration for pie chart
      - `nested` (boolean · default: false)
        Show nested legend with hierarchical breakdown levels
      - `position` (enum  · default: right)
        Legend Position.
        Values: `top`, `bottom`, `left`, `right`
      - `size` (union)
        Legend size.
        Values: `auto`, `s`, `m`, `l`, `xl`
      - `truncate_after_lines` (number · min: 1 · max: 10 · default: 1)
        Number of lines before legend items are truncated.
      - `visibility` (enum)
        Legend visibility.
        Values: `auto`, `visible`, `hidden`
    - `metrics` ([] union anyOf · min: 1 · max: 100)
      Array of metric configurations (minimum 1)
      - `color` (union anyOf · default: {
  "type": "auto"
})
        - **Kibana_HTTP_APIs_visStaticColor**
          Fixed color for all values in the dimension.
          - `color` (string)
            The static color to be used for all values.
          - `type` (enum)
            Values: `static`
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum)
            Values: `auto`
    - `query` ({})
      A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
      - `expression` (string)
        A query expression in KQL or Lucene syntax
      - `language` (enum  · default: kql)
        Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
        Values: `kql`, `lucene`
    - `sampling` (number · min: 0 · max: 1 · default: 1)
      Sampling factor between 0 (no sampling) and 1 (full sampling).
    - `styling` ({})
      Visual chart styling options
      - `donut_hole` (enum)
        Donut hole size. Accepted values: `none` (full pie), `s`, `m`, `l`.
        Values: `none`, `s`, `m`, `l`
      - `labels` (object)
        Label configuration for pie chart slice labels inside or outside the pie
        - `position` (enum)
          Slice label position: `inside` or `outside`.
          Values: `inside`, `outside`
        - `visible` (boolean)
          When `true`, displays slice labels.
      - `values` ({})
        Configure the visibility and the format of the values rendered on each chart partition section
        - `mode` (enum)
          How to format values when visible.
          Values: `absolute`, `percentage`
        - `percent_decimals` (number · min: 0 · max: 10 · default: 2)
          Decimal places for percentage display (0-10)
        - `visible` (boolean)
          Show metric values on the chart
    - `tags` ([] string · max: 1000 · default: [])
      Tag IDs to associate with this visualization.
    - `title` (string)
      The title of the chart displayed in the panel. Optional. Any string value or undefined.
    - `type` (enum)
      Values: `pie`
  - **Kibana_HTTP_APIs_mosaicLibItemNoESQL**
    - `data_source` (union oneOf)
      - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
        - `ref_id` (string)
          The id of the Kibana data view to use as the data source. Example: "my-data-view".
        - `type` (enum)
          Values: `data_view_reference`
      - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
        - `allow_hidden_indices` (boolean)
          When `true`, allows the data view to match hidden indices.
        - `field_filters` ([] object · max: 10000)
          Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
        - `field_settings` (map string to object)
        - `index_pattern` (string · min: 1)
          The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
        - `name` (string · min: 1 · max: 256)
          The name of the data view. Example: "Sample data view".
        - `time_field` (string)
          The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
        - `type` (enum)
          Values: `data_view_spec`
    - `description` (string)
      The description of the chart. Optional. Any string value or undefined.
    - `filters` ([] object · max: 100)
      Filters applied to the panel
    - `group_breakdown_by` ([] union anyOf · min: 1 · max: 100)
      Array of group breakdown dimensions (minimum 1)
      - `collapse_by` (union)
        Aggregation function used to collapse a breakdown dimension into a single value.
        Values: `avg`, `sum`, `max`, `min`
    - `group_by` ([] union anyOf · min: 1 · max: 100)
      Array of breakdown dimensions (minimum 1)
      - `collapse_by` (union)
        Aggregation function used to collapse a breakdown dimension into a single value.
        Values: `avg`, `sum`, `max`, `min`
      - `color` (union  · default: {
  "mapping": [],
  "mode": "categorical",
  "palette": "default"
})
        Color mapping for dimension values, either categorical (for specific values) or as a gradient.
        Same options as `color` in `Kibana_HTTP_APIs_visDateHistogramOperation`
    - `ignore_global_filters` (boolean · default: false)
      When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
    - `legend` ({})
      Legend configuration for mosaic chart appearance and behavior
      - `nested` (boolean · default: false)
        Show nested legend with hierarchical breakdown levels
      - `position` (enum  · default: right)
        Legend Position.
        Values: `top`, `bottom`, `left`, `right`
      - `size` (union)
        Legend size.
        Values: `auto`, `s`, `m`, `l`, `xl`
      - `truncate_after_lines` (number · min: 1 · max: 10 · default: 1)
        Number of lines before legend items are truncated.
      - `visibility` (enum)
        Legend visibility.
        Values: `auto`, `visible`, `hidden`
    - `metric` (union anyOf)
      Same options as `metric` in `Kibana_HTTP_APIs_tagcloudLibItemNoESQL`
    - `query` ({})
      A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
      - `expression` (string)
        A query expression in KQL or Lucene syntax
      - `language` (enum  · default: kql)
        Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
        Values: `kql`, `lucene`
    - `sampling` (number · min: 0 · max: 1 · default: 1)
      Sampling factor between 0 (no sampling) and 1 (full sampling).
    - `styling` ({})
      Visual chart styling options
      - `values` ({})
        Configure the visibility and the format of the values rendered on each chart partition section
        - `mode` (enum)
          How to format values when visible.
          Values: `absolute`, `percentage`
        - `percent_decimals` (number · min: 0 · max: 10 · default: 2)
          Decimal places for percentage display (0-10)
        - `visible` (boolean)
          Show metric values on the chart
    - `tags` ([] string · max: 1000 · default: [])
      Tag IDs to associate with this visualization.
    - `title` (string)
      The title of the chart displayed in the panel. Optional. Any string value or undefined.
    - `type` (enum)
      Values: `mosaic`
  - **Kibana_HTTP_APIs_treemapLibItemNoESQL**
    - `data_source` (union oneOf)
      - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
        - `ref_id` (string)
          The id of the Kibana data view to use as the data source. Example: "my-data-view".
        - `type` (enum)
          Values: `data_view_reference`
      - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
        - `allow_hidden_indices` (boolean)
          When `true`, allows the data view to match hidden indices.
        - `field_filters` ([] object · max: 10000)
          Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
        - `field_settings` (map string to object)
        - `index_pattern` (string · min: 1)
          The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
        - `name` (string · min: 1 · max: 256)
          The name of the data view. Example: "Sample data view".
        - `time_field` (string)
          The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
        - `type` (enum)
          Values: `data_view_spec`
    - `description` (string)
      The description of the chart. Optional. Any string value or undefined.
    - `filters` ([] object · max: 100)
      Filters applied to the panel
    - `group_by` ([] union anyOf · min: 1 · max: 100)
      Array of breakdown dimensions (minimum 1)
      - `collapse_by` (union)
        Aggregation function used to collapse a breakdown dimension into a single value.
        Values: `avg`, `sum`, `max`, `min`
      - `color` (union  · default: {
  "mapping": [],
  "mode": "categorical",
  "palette": "default"
})
        Color mapping for dimension values, either categorical (for specific values) or as a gradient.
        Same options as `color` in `Kibana_HTTP_APIs_visDateHistogramOperation`
    - `ignore_global_filters` (boolean · default: false)
      When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
    - `legend` ({})
      Configuration for the treemap chart legend appearance and behavior
      - `nested` (boolean · default: false)
        Show nested legend with hierarchical breakdown levels
      - `position` (enum  · default: right)
        Legend Position.
        Values: `top`, `bottom`, `left`, `right`
      - `size` (union)
        Legend size.
        Values: `auto`, `s`, `m`, `l`, `xl`
      - `truncate_after_lines` (number · min: 1 · max: 10 · default: 1)
        Number of lines before legend items are truncated.
      - `visibility` (enum)
        Legend visibility.
        Values: `auto`, `visible`, `hidden`
    - `metrics` ([] union anyOf · min: 1 · max: 100)
      Array of metric configurations (minimum 1)
      - `color` (union anyOf · default: {
  "type": "auto"
})
        - **Kibana_HTTP_APIs_visStaticColor**
          Fixed color for all values in the dimension.
          - `color` (string)
            The static color to be used for all values.
          - `type` (enum)
            Values: `static`
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum)
            Values: `auto`
    - `query` ({})
      A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
      - `expression` (string)
        A query expression in KQL or Lucene syntax
      - `language` (enum  · default: kql)
        Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
        Values: `kql`, `lucene`
    - `sampling` (number · min: 0 · max: 1 · default: 1)
      Sampling factor between 0 (no sampling) and 1 (full sampling).
    - `styling` ({})
      Visual chart styling options
      - `labels` (object)
        Labels configuration
        - `visible` (boolean)
          Show category labels
      - `values` ({})
        Configure the visibility and the format of the values rendered on each chart partition section
        - `mode` (enum)
          How to format values when visible.
          Values: `absolute`, `percentage`
        - `percent_decimals` (number · min: 0 · max: 10 · default: 2)
          Decimal places for percentage display (0-10)
        - `visible` (boolean)
          Show metric values on the chart
    - `tags` ([] string · max: 1000 · default: [])
      Tag IDs to associate with this visualization.
    - `title` (string)
      The title of the chart displayed in the panel. Optional. Any string value or undefined.
    - `type` (enum)
      Values: `treemap`
  - **Kibana_HTTP_APIs_waffleLibItemNoESQL**
    - `data_source` (union oneOf)
      - **Kibana_HTTP_APIs_kbn-data-view-reference-schema** (`type: data_view_reference`)
        - `ref_id` (string)
          The id of the Kibana data view to use as the data source. Example: "my-data-view".
        - `type` (enum)
          Values: `data_view_reference`
      - **Kibana_HTTP_APIs_kbn-data-view-spec-schema** (`type: data_view_spec`)
        - `allow_hidden_indices` (boolean)
          When `true`, allows the data view to match hidden indices.
        - `field_filters` ([] object · max: 10000)
          Field filters can be used to exclude one or more fields when fetching a document. They may contain wildcards, such as `user*` which filters fields starting with 'user'.
        - `field_settings` (map string to object)
        - `index_pattern` (string · min: 1)
          The index pattern (Elasticsearch index expression) to use as the data source. Example: "my-index-*".
        - `name` (string · min: 1 · max: 256)
          The name of the data view. Example: "Sample data view".
        - `time_field` (string)
          The name of the time field in the index. Used for time-based filtering. Example: "@timestamp".
        - `type` (enum)
          Values: `data_view_spec`
    - `description` (string)
      The description of the chart. Optional. Any string value or undefined.
    - `filters` ([] object · max: 100)
      Filters applied to the panel
    - `group_by` ([] union anyOf · min: 1 · max: 100)
      Array of breakdown dimensions (minimum 1)
      - `collapse_by` (union)
        Aggregation function used to collapse a breakdown dimension into a single value.
        Values: `avg`, `sum`, `max`, `min`
      - `color` (union  · default: {
  "mapping": [],
  "mode": "categorical",
  "palette": "default"
})
        Color mapping for dimension values, either categorical (for specific values) or as a gradient.
        Same options as `color` in `Kibana_HTTP_APIs_visDateHistogramOperation`
    - `ignore_global_filters` (boolean · default: false)
      When `true`, ignores global filters when fetching data for this layer. Defaults to `false`.
    - `legend` ({})
      Legend configuration for waffle chart
      - `position` (enum  · default: right)
        Legend Position.
        Values: `top`, `bottom`, `left`, `right`
      - `size` (union)
        Legend size.
        Values: `auto`, `s`, `m`, `l`, `xl`
      - `truncate_after_lines` (number · min: 1 · max: 10 · default: 1)
        Number of lines before legend items are truncated.
      - `values` ([] enum  · min: 1 · max: 1)
        Values: `absolute`
      - `visibility` (enum)
        Legend visibility.
        Values: `auto`, `visible`, `hidden`
    - `metrics` ([] union anyOf · min: 1 · max: 100)
      Array of metric configurations (minimum 1)
      - `color` (union anyOf · default: {
  "type": "auto"
})
        - **Kibana_HTTP_APIs_visStaticColor**
          Fixed color for all values in the dimension.
          - `color` (string)
            The static color to be used for all values.
          - `type` (enum)
            Values: `static`
        - **Kibana_HTTP_APIs_visAutoColor**
          Coloring determined at runtime based on chart defaults
          - `type` (enum)
            Values: `auto`
    - `query` ({})
      A KQL or Lucene query that filters panel data. Applied on top of any dashboard-level filters.
      - `expression` (string)
        A query expression in KQL or Lucene syntax
      - `language` (enum  · default: kql)
        Query language: `kql` (Kibana Query Language) or `lucene`. Defaults to `kql`.
        Values: `kql`, `lucene`
    - `sampling` (number · min: 0 · max: 1 · default: 1)
      Sampling factor between 0 (no sampling) and 1 (full sampling).
    - `styling` ({})
      Visual chart styling options
      - `values` ({})
        Configure the visibility and the format of the values rendered on each chart partition section
        - `mode` (enum)
          How to format values when visible.
          Values: `absolute`, `percentage`
        - `percent_decimals` (number · min: 0 · max: 10 · default: 2)
          Decimal places for percentage display (0-10)
        - `visible` (boolean)
          Show metric values on the chart
    - `tags` ([] string · max: 1000 · default: [])
      Tag IDs to associate with this visualization.
    - `title` (string)
      The title of the chart displayed in the panel. Optional. Any string value or undefined.
    - `type` (enum)
      Values: `waffle`
- `id` (string)
- `meta` ({})
  - `created_at` (string)
    Timestamp when the object was created (ISO 8601).
  - `created_by` (string)
    User profile ID of the user who created the object.
  - `managed` (boolean)
    When `true`, the object is managed by Kibana and cannot be edited by users.
  - `owner` (string)
    Identifier of the plugin or team that owns this object.
  - `updated_at` (string)
    Timestamp when the object was last updated (ISO 8601).
  - `updated_by` (string)
    User profile ID of the user who last updated the object.
  - `version` (string)
    Internal version identifier for optimistic concurrency control.
#### `201`

Created

`application/json`

- `data` (union)
  Same options as `data`
- `id` (string)
- `meta` ({})
  - `created_at` (string)
    Timestamp when the object was created (ISO 8601).
  - `created_by` (string)
    User profile ID of the user who created the object.
  - `managed` (boolean)
    When `true`, the object is managed by Kibana and cannot be edited by users.
  - `owner` (string)
    Identifier of the plugin or team that owns this object.
  - `updated_at` (string)
    Timestamp when the object was last updated (ISO 8601).
  - `updated_by` (string)
    User profile ID of the user who last updated the object.
  - `version` (string)
    Internal version identifier for optimistic concurrency control.
#### `400`

Malformed request

#### `401`

Unauthorized

#### `403`

Forbidden

#### `500`

Internal Server Error

## Code Examples

#### Console

```console
PUT kbn:/api/visualizations/1e4f0a30-b3c5-11ef-bd7a-2b6b1a8c0f3d
{
  "type": "metric",
  "title": "Total requests (updated)",
  "data_source": {
    "type": "data_view_spec",
    "index_pattern": "kibana_sample_data_logs",
    "time_field": "timestamp"
  },
  "metrics": [
    {
      "type": "primary",
      "operation": "count"
    }
  ]
}
```

#### curl

```curl
curl -X PUT "${KIBANA_URL}/api/visualizations/1e4f0a30-b3c5-11ef-bd7a-2b6b1a8c0f3d" \
  -H "Authorization: ApiKey ${API_KEY}" \
  -H "kbn-xsrf: true" \
  -H "Content-Type: application/json" \
  -d '{
  "type": "metric",
  "title": "Total requests (updated)",
  "data_source": {
    "type": "data_view_spec",
    "index_pattern": "kibana_sample_data_logs",
    "time_field": "timestamp"
  },
  "metrics": [
    {
      "type": "primary",
      "operation": "count"
    }
  ]
}'
```

## Response Examples

#### Update visualization response

The complete updated visualization state after a full replacement. PUT replaces the entire chart configuration - fields omitted from the request are reset to their defaults. `meta.created_at` reflects the update time rather than the original creation time.

```json
{
  "data": {
    "data_source": {
      "index_pattern": "kibana_sample_data_logs",
      "time_field": "timestamp",
      "type": "data_view_spec"
    },
    "ignore_global_filters": false,
    "metrics": [
      {
        "empty_as_null": false,
        "operation": "count",
        "type": "primary"
      }
    ],
    "sampling": 1,
    "styling": {
      "primary": {
        "labels": {
          "alignment": "left"
        },
        "position": "bottom",
        "value": {
          "alignment": "right",
          "sizing": "auto"
        }
      }
    },
    "tags": [],
    "title": "Total requests (updated)",
    "type": "metric"
  },
  "id": "1e4f0a30-b3c5-11ef-bd7a-2b6b1a8c0f3d",
  "meta": {
    "created_at": "2026-04-13T11:00:00.000Z",
    "managed": false,
    "updated_at": "2026-04-13T11:00:00.000Z",
    "version": "WzYxLDFd"
  }
}
```

#### Update visualization response

The created visualization state. Server-populated defaults are included in the response.

```json
{
  "data": {
    "data_source": {
      "index_pattern": "kibana_sample_data_logs",
      "time_field": "timestamp",
      "type": "data_view_spec"
    },
    "ignore_global_filters": false,
    "metrics": [
      {
        "empty_as_null": false,
        "operation": "count",
        "type": "primary"
      }
    ],
    "sampling": 1,
    "styling": {
      "primary": {
        "labels": {
          "alignment": "left"
        },
        "position": "bottom",
        "value": {
          "alignment": "right",
          "sizing": "auto"
        }
      }
    },
    "tags": [],
    "title": "Total requests (updated)",
    "type": "metric"
  },
  "id": "1e4f0a30-b3c5-11ef-bd7a-2b6b1a8c0f3d",
  "meta": {
    "created_at": "2026-04-13T11:00:00.000Z",
    "managed": false,
    "updated_at": "2026-04-13T11:00:00.000Z",
    "version": "WzYxLDFd"
  }
}
```

