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

# Metric Versions Methods

> Deploy and version HoneyHive evaluator metrics in TypeScript with the Metric Versions namespace for creating, listing, and promoting metric configs.

#### create

> **create**(`request`: [`CreateMetricVersionRequest`](/v2/sdk-reference/typescript/ref/metric-versions/CreateMetricVersionRequest)): `Promise`\<[`CreateMetricVersionResponse`](/v2/sdk-reference/typescript/ref/metric-versions/CreateMetricVersionResponse)>

Create a new metric version

Snapshot the supplied metric definition as a new version. By default the version is created as a draft (`deployed: false`); set `deploy_immediately: true` to also make it the live version in the same transaction.

#### deploy

> **deploy**(`request`: [`DeployMetricVersionRequest`](/v2/sdk-reference/typescript/ref/metric-versions/DeployMetricVersionRequest)): `Promise`\<[`DeployMetricVersionResponse`](/v2/sdk-reference/typescript/ref/metric-versions/DeployMetricVersionResponse)>

Deploy a specific metric version

Mark the named version as the live version for the metric, unmarking any previously deployed version.

#### list

> **list**(`request`: [`GetMetricVersionsRequest`](/v2/sdk-reference/typescript/ref/metric-versions/GetMetricVersionsRequest)): `Promise`\<[`GetMetricVersionsResponse`](/v2/sdk-reference/typescript/ref/metric-versions/GetMetricVersionsResponse)>

List versions for a metric

Retrieve all snapshot versions of the metric's definition, ordered oldest-first. Returns the full version history unpaginated.
