---
title: "Get job log by job id"
method: GET
path: "/jobservice/jobs/{job_id}/log"
tags: ["jobservice"]
---

# Get job log by job id

`GET /jobservice/jobs/{job_id}/log`

## Request

- Base URL: `http://localhost/api/v2.0`
- URL: `http://localhost/api/v2.0/jobservice/jobs/{job_id}/log`
- Auth: one of:
  - HTTP basic
  - none

Get job log by job id, it is only used by administrator

## Path parameters

- `job_id` string, required

## Headers

- `X-Request-Id` string

## Response `200`

Get job log successfully.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `500`: Internal server error

---

[API](https://skmtc.dev/cerit/apis/harbor-api.md) - [All operations](https://skmtc.dev/cerit/apis/harbor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cerit/apis/harbor-api/revisions/62d78801f8df?raw)
