---
title: "Project Director Chat Endpoint"
method: POST
path: "/director-chat/project"
tags: ["director-chat"]
---

# Project Director Chat Endpoint

`POST /director-chat/project`

## Request

- Base URL: `https://api.framesail.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.framesail.com/director-chat/project`
- Auth: HTTP bearer

Apply a project-wide director note.

A routing pass over the lightweight scene index picks the scenes the note
applies to and writes one self-contained instruction per scene; each then
runs through the scene-level director chat. Synchronous — expect a few
seconds per routed scene.

## Request body

- ProjectDirectorChatRequest
  - `project_id` string, required
  - `message` string, required
  - `conversation_history` ChatMessage[]
    - `role` string, required
    - `content` string, required

## Response `200`

Successful Response

- ProjectDirectorChatResponse
  - `summary` string, required
  - `scenes` ProjectSceneEditResult[], required
    - `scene_id` string, required
    - `position` integer, required
    - `instruction` string, required
    - `summary` string, nullable, required
    - `mutation_count` integer, required
    - `error` string, nullable, required

## Other responses

- `422`: Validation Error

---

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