Skip to main content
PATCH
Update a chat

Authorizations

X-Api-Key
string
header
required

API key for authentication. Generate one from your account settings.

Path Parameters

id
string
required

Chat ID

Body

application/json
title
string
Example:

"Updated chat title"

Response

chat updated

id
string<uuid>
required
title
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
messages
object[]
required
error
string | null

User-friendly error message describing the most recent failure of the assistant for this chat, or null when no error is present. Errors are classified into a small set of presentable messages so clients can display them directly without exposing raw provider details:

  • Rate limited — "The AI provider is rate limited right now. Please try again in a few minutes."
  • Temporarily unavailable — "The AI provider is temporarily unavailable right now. Please try again in a few minutes."
  • Misconfigured — "The AI provider is not configured correctly. Please contact your administrator."
  • Default fallback — "Failed to generate a response. Please try again." Successful chats always return null for this field.
Example:

"The AI provider is rate limited right now. Please try again in a few minutes."

pagination
object | null