Skip to content

Get a metric definition with version history

Auth: session VIEWER role, or ApiKeyAuth with scope metrics:read.

projectId
required
string
metricId
required
string

{ metric, versions }

Media typeapplication/json
object
key
additional properties
any

Metric_not_found

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}