---
title: "Gets a Job resource's latest metrics"
method: GET
path: "/api/v1/jobs/{id}/metrics"
tags: ["Job"]
---

# Gets a Job resource's latest metrics

`GET /api/v1/jobs/{id}/metrics`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v1/jobs/{id}/metrics`
- Auth: none declared
- TypeScript: <https://skmtc.dev/usnistgov/apis/dioptra-rest-api/docs/api/v1/jobs/:id/metrics/get.ts> (a function with typed inputs; its response is checked against the schema)

## Headers

- `X-Fields` string, mask

## Response `200`

Success

- MetricsDump[]
  - `name` string, required: The name of the metric.
  - `value` number, required: The value of the metric. Can be a float, NaN, Infinity, or -Infinity. NaN values are represented with the string "nan" and infinite values are represented with the strings "inf" and "-inf".

## Changes

- **2026-09-30** `7615a76631a4`: 1 warning
  - deleted the `path` request parameter `id`
- **2026-02-11** `a73101579c5c`: 1 info
  - endpoint added
- **2024-07-26** `9a36b9043379`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/usnistgov/apis/dioptra-rest-api/changes/api/v1/jobs/:id/metrics/get.md)

---

[API](https://skmtc.dev/usnistgov/apis/dioptra-rest-api.md) - [All operations](https://skmtc.dev/usnistgov/apis/dioptra-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/usnistgov/apis/dioptra-rest-api/revisions/e1a0ec3a40b2?raw)
