---
title: "Get job build metrics"
method: GET
path: "/v1/projects/{projectId}/jobs/{jobId}/build-metrics"
tags: ["Jobs", "project"]
---

# Get job build metrics

`GET /v1/projects/{projectId}/jobs/{jobId}/build-metrics`

## Request

- Base URL: `https://placeholder/v1`
- URL: `https://placeholder/v1/v1/projects/{projectId}/jobs/{jobId}/build-metrics`
- Auth: none required
- TypeScript: <https://skmtc.dev/northflank/apis/northflank-api/docs/v1/projects/:projectId/jobs/:jobId/build-metrics/get.ts> (a function with typed inputs; its response is checked against the schema)

Get metrics for a job build

## Path parameters

- `projectId` string, required: ID of the project
- `jobId` string, required: ID of the job

## Query parameters

- `buildId` string: Selects metrics for specific build.
- `queryType` 'range' | 'single': Selects metrics for specified timestamp.
- `metricTypes` 'cpu' | 'memory' | 'networkIngress' | 'networkEgress' | 'tcpConnectionsOpen' | 'diskUsage' | 'requests' | 'http4xxResponses' | 'http5xxResponses' | 'bandwidth' | 'bandwidthVolume': Type of metric. Multiple metric types can be selected by specifying the query parameter repeatedly.
- `startTime` string, date-time: Fetch metrics generated after this timestamp. Only valid for queryType: `range`.
- `endTime` string, date-time: Fetch metrics generated before this timestamp. Only valid for queryType: `range`.
- `duration` integer: Range duration in seconds. If set, only one of `startTime` or `endTime` can be set.
- `time` string, date-time: Fetch metrics at this timestamp. If not provided will use current time. Only valid for queryType: `single`.

## Response `200`

List of metrics values

## Changes

- **2026-11-06** `503a425aa44f`: 1 breaking, 9 warning, 1 info
  - removed the success response with the status `200`
  - deleted the `path` request parameter `jobId`
  - deleted the `path` request parameter `projectId`
  - deleted the `query` request parameter `buildId`
  - …7 more

[Operation history](https://skmtc.dev/northflank/apis/northflank-api/changes/v1/projects/:projectId/jobs/:jobId/build-metrics/get.md)

---

[API](https://skmtc.dev/northflank/apis/northflank-api.md) - [All operations](https://skmtc.dev/northflank/apis/northflank-api/llms.txt) - [OpenAPI document](https://skmtc.dev/northflank/apis/northflank-api/revisions/6511db980148?raw)
