Skip to main content

create

create(request: CreateMetricVersionRequest): Promise<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): Promise<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): Promise<GetMetricVersionsResponse>
List versions for a metric Retrieve all snapshot versions of the metric’s definition, ordered oldest-first. Returns the full version history unpaginated.