Skip to main content
PUT
/
chats
/
threads
/
{thread_id}
Update thread
curl --request PUT \
  --url https://api.ledgerbeam.com/v1/chats/threads/{thread_id} \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Q4 Sales Analysis"
}
'
{
  "message": "Thread updated successfully"
}

Overview

Update a conversation thread’s metadata, such as its name.

Authorizations

API-KEY
string
header
required

API key for authentication

Path Parameters

thread_id
string
required

Thread ID

Body

application/json
name
string

The new name for the thread

Example:

"Q4 Sales Analysis"

Response

Thread updated successfully

message
string
Example:

"Thread updated successfully"