---
title: "Get Workspace File"
method: GET
path: "/api/projects/{project_id}/workspace/files/{file_path}"
---

# Get Workspace File

`GET /api/projects/{project_id}/workspace/files/{file_path}`

Fetch one workspace file. Default returns a JSON envelope (for the editor);
``?raw=1`` returns the file body with its native content-type (for the player
iframe / asset serving).

## Path parameters

- `project_id` string, required
- `file_path` string, required

## Query parameters

- `raw` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/latted/apis/motion-graphics-designer-api.md) · [All operations](https://skmtc.dev/latted/apis/motion-graphics-designer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/latted/motion-graphics-designer-api/revisions/36d149b525df/schema)
