Skip to main content
POST
Error

Authorizations

X-API-Key
string
header
required

Personal Access Token, sent verbatim as pat_<32 chars>. PATs are minted from the Chief settings UI.

Headers

X-Project-Id
string
required

Project identifier scoping the request. Required on every project-scoped public endpoint. Missing or malformed values respond with HTTP 400 and code publicapi.tenancy.project.missing.

Pattern: ^project_[a-z0-9]{20}$

Path Parameters

id
string
required

Chat identifier.

Pattern: ^chat_[a-z0-9]{20}$

Body

application/json

Rename a chat. Title is the only mutable chat field.

title
string
required

Response

Chat updated.

chat_id
string
required
Pattern: ^chat_[a-z0-9]{20}$
modified_at
string<date-time>

Timestamp of the most recent message. Omitted on chats with no turns.

visibility
enum<string>

Chat access level. project: every project member can read it. restricted: only the owner and the audience managed under the members sub-resource. private: owner only.

Available options:
project,
restricted,
private
can_manage_visibility
boolean

True when the caller may change this chat's visibility and manage its audience.