---
title: "Download task logs"
method: GET
path: "/api/v1/project/{projectid}/jobs/{id}/logs/download"
tags: ["Jobs"]
---

# Download task logs

`GET /api/v1/project/{projectid}/jobs/{id}/logs/download`

## Request

- The document declares no server URL.
- Auth: none declared

Downloads the log file for a specific task. The file path required for the download must be obtained from the [Get Job Tasks](#/Jobs/get_api_v1_project__projectid__jobs__id__tasks) endpoint.

## Path parameters

- `projectid` string, required
- `id` integer, required

## Query parameters

- `file_path` string, required

## Response `200`

OK

## Other responses

- `400`: failed to validate request
- `401`: unauthorized
- `404`: failed to prepare log archive
- `500`: internal server error

---

[API](https://skmtc.dev/datazip-inc/apis/olake-ui-api.md) - [All operations](https://skmtc.dev/datazip-inc/apis/olake-ui-api/llms.txt) - [OpenAPI document](https://skmtc.dev/datazip-inc/apis/olake-ui-api/revisions/6e70c7164502?raw)
