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

# RunMetricRequest

> TypeScript request type for the HoneyHive API

## Properties

### event

> **event**: `object` & `object`

#### Type Declaration

##### event\_name?

> `optional` **event\_name?**: `string`

##### event\_type?

> `optional` **event\_type?**: `string`

##### feedback?

> `optional` **feedback?**: `object` & `object`

###### Type Declaration

###### ground\_truth?

> `optional` **ground\_truth?**: `unknown`

##### inputs?

> `optional` **inputs?**: `object`

###### Index Signature

\[`key`: `string`]: `unknown`

##### outputs?

> `optional` **outputs?**: `object`

###### Index Signature

\[`key`: `string`]: `unknown`

##### ~~workspace\_id?~~

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

###### Deprecated

###### Description

Deprecated: ignored. The workspace whose provider credentials run the metric is derived from the caller’s authenticated scope.

***

### metric

> **metric**: `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`

#

#### enabled\_in\_prod?

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

##### 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"` | `"categorical"` | `"float"`

##### Default

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

#### sampling\_percentage?

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

##### 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"` | `"PYTHON"`


## Related topics

- [Metrics Methods](https://docs.honeyhive.ai/v2/sdk-reference/typescript/ref/metrics/index.md)
- [GetExperimentRunMetricsRequest](https://docs.honeyhive.ai/v2/sdk-reference/typescript/ref/experiments/GetExperimentRunMetricsRequest.md)
- [Run a metric evaluation](https://docs.honeyhive.ai/v2/api-reference-autogen/metrics/run-a-metric-evaluation.md)


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