---
title: "Get slide source files"
method: GET
path: "/projects/{slug}/slides/{slideId}"
tags: ["Slides"]
---

# Get slide source files

`GET /projects/{slug}/slides/{slideId}`

Read a slide's source code and configuration. Returns face.tsx, face.content.json, and face.controls.json.

## Path parameters

- `slug` string, required
- `slideId` string, required — The slide ID from listSlides.

## Response `200`

Slide files

- object
  - `slideId` string, required
  - `name` string, required
  - `files` object, required — Slide source files. Only include files you want to update.
    - `face.tsx` string — React component. Must default-export a component with w-full h-full outer div. MUST import content/controls from sibling JSON files. Can import any npm package (auto-resolved). Use Tailwind CSS and container queries for desktop sizing per the slide authoring guide. Base/mobile typography must fit the 9:16 canvas; use moderate mobile headings and scale up behind the project's desktop container breakpoint for presentation sizes. Google Fonts via: import { Inter } from 'next/font/google'. Custom CSS via: import './face.css'.
    - `face.content.json` string — Editable content blocks. ALL visible text must go here — never hardcode text in face.tsx. Structure: { "blocks": { "key": { "type": "text"|"image"|"icon"|"table", ... } } }. Text: { "type": "text", "content": "HTML" } rendered with <TextContent>. Image: { "type": "image", "src": "url" }. Icon: { "type": "icon", "name": "lucide-icon-name" } rendered with <Icon>. Table: { "type": "table", "columns": [...], "rows": [...] }.
    - `face.controls.json` string — Editor controls. Always add controls for sizes, spacing, visibility, layout. Structure: { "controls": { "key": { "type": "slider"|"switch"|"selector", ... } } }. Slider: { "type": "slider", "min": 0, "max": 100, "step": 1, "value": 50 }. Switch: { "type": "switch", "value": true }. Selector: { "type": "selector", "options": ["A", "B"], "value": "A" }. Access: controls.key?.value ?? default.

## Other responses

- `404` — Project or slide not found

---

[API](https://skmtc.dev/faces/apis/faces-api.md) · [All operations](https://skmtc.dev/faces/apis/faces-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/faces/faces-api/revisions/83197d741969/schema)
