> ## 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.

# CreateMetricVersionRequest

> TypeScript request type for the HoneyHive API

## Properties

### content

> **content**: `object`

#### categories?

> `optional` **categories?**: `object`\[] | `null`

#### ~~child\_metrics?~~

> `optional` **child\_metrics?**: `object`\[] | `null`

##### Deprecated

##### Description

Deprecated and ignored. Composite metrics are no longer supported.

#### criteria

> **criteria**: `string`

#### description?

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

##### Description

Free-form description of the metric. Defaults to an empty string.

#

#### enabled\_in\_prod?

> `optional` **enabled\_in\_prod?**: `boolean`

##### Description

Whether this version should run against production traffic. Defaults to `false` for non-HUMAN metrics and `true` for HUMAN metrics.

##### Default

```ts theme={null}
false
```

#### filters?

> `optional` **filters?**: `object`

##### filters.filterArray

> **filterArray**: `object`\[]

#### model\_name?

> `optional` **model\_name?**: `string` | `null`

#### model\_provider?

> `optional` **model\_provider?**: `string` | `null`

#### name

> **name**: `string`

#### ~~needs\_ground\_truth?~~

> `optional` **needs\_ground\_truth?**: `boolean`

##### Deprecated

##### Description

Deprecated and ignored. Ground-truth use is inferred from the evaluator definition.

#### return\_type?

> `optional` **return\_type?**: `"string"` | `"boolean"` | `"float"` | `"categorical"`

##### Description

Return type of the metric. Defaults to `float`.

##### Default

```ts theme={null}
float
```

#### sampling\_percentage?

> `optional` **sampling\_percentage?**: `number`

##### Description

Percentage of events the metric should run against, 0–100. Defaults to `10`.

##### Default

```ts theme={null}
10
```

#### scale?

> `optional` **scale?**: `number` | `null`

#### threshold?

> `optional` **threshold?**: \{ `max?`: `number`; `min?`: `number`; `pass_when?`: `number` | `boolean`; `passing_categories?`: `string`\[]; } | `null`

#### type

> **type**: `"LLM"` | `"COMPOSITE"` | `"PYTHON"` | `"HUMAN"`

***

### deploy\_immediately?

> `optional` **deploy\_immediately?**: `boolean`

***

### message

> **message**: `string`

***

### metric\_id

> **metric\_id**: `string`

#### Description

The unique identifier of the metric to version


## Related topics

- [Metric Versions Methods](/v2/sdk-reference/typescript/ref/metric-versions/index.md)
- [Clients](/v2/changelog/clients.md)
- [Create a new metric version](/v2/api-reference-autogen/metric-versions/create-a-new-metric-version.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.