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

# Get job build logs

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

## Request

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

Get logs 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 logs for specific build.
- `queryType` 'range': `range` selects a log range and returns immediately.
- `startTime` string, date-time: Fetch logs generated after this timestamp.
- `endTime` string, date-time: Fetch logs generated before this timestamp.
- `duration` integer: Range duration in seconds. If set, only one of `startTime` or `endTime` can be set.
- `lineLimit` integer: Number of log lines to fetch.
- `direction` 'backward' | 'forward': Ordering of log lines
- `textIncludes` string: Filter log lines to match this search string
- `textNotIncludes` string: Filter log lines to not match this search string
- `regexIncludes` string: Filter log lines to match this regular expression
- `regexNotIncludes` string: Filter log lines to not match this regular expression

## Response `200`

List of logs values

## Changes

- **2026-11-06** `503a425aa44f`: 1 breaking, 13 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`
  - …11 more

[Operation history](https://skmtc.dev/northflank/apis/northflank-api/changes/v1/projects/:projectId/jobs/:jobId/build-logs/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)
