---
title: "Get Project File"
method: GET
path: "/projects/{project_id}/files/{filename}"
---

# Get Project File

`GET /projects/{project_id}/files/{filename}`

## Request

- Base URL: `https://usemeridian.us` (the document declares no server; this is the origin it was published from)
- URL: `https://usemeridian.us/projects/{project_id}/files/{filename}`
- Auth: none declared

Read one editable markdown file and return its content.

Returns ``{"filename": ..., "content": ...}`` with an empty string when
the file does not yet exist. 403 if the filename is not in the allow-list.
In demo mode, returns realistic fake content keyed by project name.

## Path parameters

- `project_id` string, required
- `filename` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/usemeridian/apis/meridian.md) · [All operations](https://skmtc.dev/usemeridian/apis/meridian/llms.txt) · [OpenAPI document](https://skmtc.dev/usemeridian/apis/meridian/revisions/f37a894bd374?raw)
