---
title: "Update a ChatUI project"
method: PATCH
path: "/api/v1/chat/projects/{project_id}"
tags: ["Chat"]
---

# Update a ChatUI project

`PATCH /api/v1/chat/projects/{project_id}`

**Required scope:** `chat`

## Path parameters

- `project_id` string, required

## Request body

- ChatProjectRequest
  - `title` string
  - `emoji` string
  - `description` string
  - `workspace_type` 'session' | 'project' | 'custom' — Workspace mode. API key callers may use only session or project; project is the default.
  - `workspace_path` string — Dashboard-only custom workspace path. API key callers cannot set this field.

## Response `200`

Standard AstrBot success response

- SuccessEnvelope
  - `status` 'ok', required
  - `message` string
  - `data` unknown, required

## Changes

- **2026-07-18** `dcaea15b7823` — 2 info
  - added the new optional request property `workspace_path`
  - added the new optional request property `workspace_type`
- **2026-06-14** `6b73b947caab` — 1 info
  - endpoint added
- **2026-03-09** `3d43cee2622a` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/astrbotdevs/apis/astrbot-openapi-v1/changes/api/v1/chat/projects/:project_id/patch.md)

---

[API](https://skmtc.dev/astrbotdevs/apis/astrbot-openapi-v1.md) · [All operations](https://skmtc.dev/astrbotdevs/apis/astrbot-openapi-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/astrbotdevs/astrbot-openapi-v1/revisions/9f8da1b16ca0/schema)
