---
title: "Get Job Logs"
method: GET
path: "/api/jobs/{submission_id}/logs"
---

# Get Job Logs

`GET /api/jobs/{submission_id}/logs`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/ray-project/apis/ray-jobs-api/docs/api/jobs/:submission_id/logs/get.ts> (a function with typed inputs; its response is checked against the schema)

Get the logs of a job.

## Path parameters

- `submission_id` string, required

## Response `200`

The logs of the job.

- object
  - `logs` string: The logs of the job.

## Other responses

- `400`: The job was not submitted via the Ray Jobs API, so its logs cannot be retrieved.
- `404`: The job does not exist.
- `500`: An internal error occurred when getting the logs of the job.

---

[API](https://skmtc.dev/ray-project/apis/ray-jobs-api.md) - [All operations](https://skmtc.dev/ray-project/apis/ray-jobs-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ray-project/apis/ray-jobs-api/revisions/ee468f0281dc?raw)
