---
title: "GET /jobs/{jobId}/tasks/{taskId}/files/{filePath}"
method: GET
path: "/jobs/{jobId}/tasks/{taskId}/files/{filePath}"
tags: ["Files"]
---

# GET /jobs/{jobId}/tasks/{taskId}/files/{filePath}

`GET /jobs/{jobId}/tasks/{taskId}/files/{filePath}`

Returns the content of the specified Task file.

## Path parameters

- `jobId` string, required
- `taskId` string, required
- `filePath` string, required

## Query parameters

- `timeout` integer
- `api-version` string, required

## Headers

- `client-request-id` string, uuid
- `return-client-request-id` boolean
- `ocp-date` string, date-time-rfc1123
- `ocp-range` string
- `If-Modified-Since` string, date-time-rfc1123
- `If-Unmodified-Since` string, date-time-rfc1123

## Response `200`

A response containing the file content.

- object

## Other responses

- `default` — The error from the Batch service.

---

[API](https://skmtc.net/azure/apis/batchservice.md) · [All operations](https://skmtc.net/azure/apis/batchservice/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/batchservice/versions/4c9161203dbe/schema)
