> ## Documentation Index
> Fetch the complete documentation index at: https://docs.honeyhive.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# UpdateChartRequest

> Use UpdateChartRequest to define chart update payloads with the HoneyHive Charts TypeScript client for typed calls and autocomplete.

## Properties

### bucketing?

> `optional` **bucketing?**: `"minute"` | `"hour"` | `"day"` | `"week"` | `"month"`

#### Description

Time bucket granularity for aggregation

***

### chart\_id

> **chart\_id**: `string`

#### Description

The unique identifier of the chart to update

***

### dateRange?

> `optional` **dateRange?**: \{ `relative`: `string`; } | \{ `$gte`: `string` | `number`; `$lte`: `string` | `number`; }

#### Description

Time range to query

***

### description?

> `optional` **description?**: `string`

#### Description

Description of what the chart shows

***

### func?

> `optional` **func?**: `string`

#### Description

Aggregation function to apply (e.g. sum, avg, median, min, max)

***

### groupBy?

> `optional` **groupBy?**: `string` | `null`

#### Description

Field to group results by

***

### metric?

> `optional` **metric?**: `string`

#### Description

Name of the metric to visualize

***

### name?

> `optional` **name?**: `string`

#### Description

Display name for the chart

***

### owner\_id?

> `optional` **owner\_id?**: `string`

#### Description

ID of the user who owns this chart

***

### query?

> `optional` **query?**: `object`\[]

#### field

> **field**: `string`

##### Description

Name of the field to filter on

#### operator

> **operator**: `string`

##### Description

Comparison operator (e.g. is, is not, contains, greater than, less than)

#### type

> **type**: `string`

##### Description

Data type of the field (e.g. string, number)

#### value

> **value**: `string` | `null`

##### Description

Value to compare against

#### Description

Filters to apply to the chart data
