Threads
Update a Thread by ID
Updates a thread’s metadata by its ID.
POST
This endpoint allows you to update the metadata of a thread by its unique identifier. Metadata is a key-value storage system that developers can use to store useful information associated with a thread.
Metadata Usage
Metadata can be used to store various types of information related to the thread, such as:
- User information (e.g., user ID, name, preferences)
- Conversation context (e.g., topic, category, priority)
- Custom flags or tags
- Timestamps for specific events
- Any other relevant data for your application
Headers
Your Langtail API Key
Example:
"<LANGTAIL_API_KEY>"
Path Parameters
The ID of the thread to update.
Body
application/json
Response
200
application/json
Successfully updated thread
The response is of type object
.