---
title: "Get job log"
method: GET
path: "/api/v1alpha/batches/{batch_id}/jobs/{job_id}/log"
tags: ["Batches API v1Alpha"]
deprecated: true
---

# Get job log

`GET /api/v1alpha/batches/{batch_id}/jobs/{job_id}/log`

> **Deprecated.**

Get the log of a job by ID.

## Path parameters

- `batch_id` number, required
- `job_id` number, required

## Response `200`

Successfully retrieved the log of the job.

- JobLogResponse
  - `main` string, nullable — Log output from the main container
  - `input` string, nullable — Log output from the input container
  - `setup` string, nullable — Log output from the setup container
  - `output` string, nullable — Log output from the output container

---

[API](https://skmtc.net/hail-is/apis/hail-services.md) · [All operations](https://skmtc.net/hail-is/apis/hail-services/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hail-is/hail-services/revisions/3bd6e13adfa6/schema)
