Skip to main content
PATCH
/
threads
/
{thread_id}
Update thread
curl --request PATCH \
  --url https://api.smith.langchain.com/v1/deepagents/threads/{thread_id} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "title": "<string>",
  "metadata": {}
}
'
{}

Authorizations

X-Api-Key
string
header
default:LANGSMITH_API_KEY
required

Path Parameters

thread_id
string
required

Thread ID.

Body

application/json
title
string
metadata
object

Response

Thread updated.

The response is of type object.