---
title: "GET /pools/{poolId}/nodes/{nodeId}/files/{fileName}"
method: GET
path: "/pools/{poolId}/nodes/{nodeId}/files/{fileName}"
tags: ["Files"]
---

# GET /pools/{poolId}/nodes/{nodeId}/files/{fileName}

`GET /pools/{poolId}/nodes/{nodeId}/files/{fileName}`

Returns the content of the specified task file.

## Path parameters

- `poolId` string, required
- `nodeId` string, required
- `fileName` string, required

## Query parameters

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

## Headers

- `client-request-id` string
- `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`

OK

- string, binary

## Other responses

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

---

[API](https://skmtc.dev/azure/apis/batch-batch.md) · [All operations](https://skmtc.dev/azure/apis/batch-batch/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/batch-batch/revisions/bee2d837bf8f/schema)
