---
title: "台本エディタ用: 今の行と台本の版（lines_version）を同じ時点で読む（画面専用。API キー不可）"
method: GET
path: "/api/v1/projects/{projectId}/lines/sync"
tags: ["projects"]
---

# 台本エディタ用: 今の行と台本の版（lines_version）を同じ時点で読む（画面専用。API キー不可）

`GET /api/v1/projects/{projectId}/lines/sync`

## Request

- Base URL: `https://app.yukkurigen.com`
- URL: `https://app.yukkurigen.com/api/v1/projects/{projectId}/lines/sync`
- Auth: HTTP bearer

## Path parameters

- `projectId` string, required

## Response `200`

読めた

- object
  - `projectId` string
  - `version` integer: 台本の版。PUT の expectedVersion に添える
  - `lines` object[]: index 順の全行
    - `id` string
    - `index` integer

## Other responses

- `401`: 未ログイン
- `403`: 他人のプロジェクト
- `404`: プロジェクトが無い

---

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