---
title: "Get conformance metrics for a Service"
method: GET
path: "/metrics/conformance/service/{serviceId}"
tags: ["metrics"]
---

# Get conformance metrics for a Service

`GET /metrics/conformance/service/{serviceId}`

## Response `200`

Test coverage metric for Service

- TestConformanceMetric — Represents the test conformance metrics (current score, history and evolution trend) of a Service
  - `id` string, required — Unique identifier of coverage metric
  - `serviceId` string, required — Unique identifier of the Service this metric is related to
  - `aggregationLabelValue` string — Value of the label used for metrics aggregation (if any)
  - `maxPossibleScore` number, double, required — Maximum conformance score that can be reached (depends on samples expresiveness)
  - `currentScore` number, double, required — Current test conformance score for the related Service
  - `lastUpdateDay` string — The day of latest score update (in yyyyMMdd format)
  - `latestTrend` 'DOWN' | 'LOW_DOWN' | 'STABLE' | 'LOW_UP' | 'UP' — Evolution trend qualifier
  - `latestScores` object — History of latest scores (key is date with format yyyyMMdd, value is score as double)

---

[API](https://skmtc.dev/microcks/apis/microcks-api-v1-7.md) · [All operations](https://skmtc.dev/microcks/apis/microcks-api-v1-7/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/microcks/microcks-api-v1-7/revisions/cc062ec25192/schema)
