---
title: "Read One Job Log"
method: GET
path: "/control/jobs/logs/{job_id}"
tags: ["jobcontrol", "control", "jobs"]
---

# Read One Job Log

`GET /control/jobs/logs/{job_id}`

## Request

- The document declares no server URL.
- Auth: OAuth 2
  - Password
  - Token URL: `token`
- TypeScript: <https://skmtc.dev/bareos/apis/bareos-rest-api/docs/control/jobs/logs/:job_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Read logs from a specific job defined by jobid
Returns output of command _list joblog jobid=id_

## Path parameters

- `job_id` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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