---
title: "GET /v1/{+name}:readFile"
method: GET
path: "/v1/{+name}:readFile"
tags: ["projects"]
---

# GET /v1/{+name}:readFile

`GET /v1/{+name}:readFile`

Returns the contents of a file (inside a Repository). The Repository must not have a value for `git_remote_settings.url`.

## Path parameters

- `name` string, required

## Query parameters

- `commitSha` string
- `path` string

## Response `200`

Successful response

---

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