---
title: "Return a single metric and it's definition"
method: GET
path: "/metrics/{version}/{metric}"
tags: ["FAIR metric"]
---

# Return a single metric and it's definition

`GET /metrics/{version}/{metric}`

## Request

- Base URL: `http://localhost:1071/fuji/api/v1`
- URL: `http://localhost:1071/fuji/api/v1/metrics/{version}/{metric}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/pangaea-data-publisher/apis/f-uji/docs/metrics/:version/:metric/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `version` string, required
- `metric` string, required

## Response `200`

Metrics are successfully retrieved

- Metric
  - `metric_identifier` string
  - `metric_name` string
  - `description` string
  - `fair_principle` string
  - `evaluation_mechanism` string
  - `date_created` string, date
  - `date_updated` string, date
  - `created_by` string
  - `version` number, double
  - `total_score` integer

## Other responses

- `400`: Invalid request supplied
- `401`: Authentication information is missing or invalid
- `404`: Object not found

---

[API](https://skmtc.dev/pangaea-data-publisher/apis/f-uji.md) - [All operations](https://skmtc.dev/pangaea-data-publisher/apis/f-uji/llms.txt) - [OpenAPI document](https://skmtc.dev/pangaea-data-publisher/apis/f-uji/revisions/836c431404d7?raw)
