---
title: "GET /api/repo/{namespace}/{repository}/tree/{tree}/readme"
method: GET
path: "/api/repo/{namespace}/{repository}/tree/{tree}/readme"
tags: ["repository"]
---

# GET /api/repo/{namespace}/{repository}/tree/{tree}/readme

`GET /api/repo/{namespace}/{repository}/tree/{tree}/readme`

## Path parameters

- `namespace` string, required
- `repository` string, required
- `tree` string, required

## Response `200`

Readme file name and content

- ReadmeResponse — Readme file name and rendered content
  - `content` string, required — Raw text content of the readme file
  - `file_name` string, required — File name of the readme

## Other responses

- `404` — Repository, branch, or readme not found

---

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