---
title: "Public Export Pdf"
method: GET
path: "/api/v1/public/projects/{project_id}/export/pdf"
tags: ["public-api"]
---

# Public Export Pdf

`GET /api/v1/public/projects/{project_id}/export/pdf`

## Request

- Base URL: `https://api.slidemaster.tw` (the document declares no server; this is the origin it was published from)
- URL: `https://api.slidemaster.tw/api/v1/public/projects/{project_id}/export/pdf`
- Auth: none declared

將所有已渲染的投影片圖片合併為單一 PDF 檔案並回傳下載連結。

每張投影片佔一頁，16:9 橫向排列。PDF 上傳至 GCS 後產生 signed URL。
若投影片未變更（updated_at 不變），直接回傳快取的 PDF。

路徑參數：project_id（專案 ID）。

錯誤：
- 404：專案不存在。
- 403：該專案不屬於目前使用者。
- 400：專案沒有已渲染的投影片圖片。

## Path parameters

- `project_id` string, required

## Headers

- `Authorization` string, nullable
- `X-API-Key` string, nullable

## Response `200`

Successful Response

- PublicExportPdfResponse
  - `pdf_url` string, required
  - `page_count` integer, required
  - `title` string, required
  - `summary` string
  - `next_suggestion` string

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api.md) · [All operations](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api/revisions/a964c005977e?raw)
