POST /v2/threads/{threadId}
Updates a thread's metadata by its ID.
Request
- Base URLhttps://api.langtail.com
- Authnone declared. Required headers: X-API-Key
Path parameters
threadIdstring required
The ID of the thread to update.
Headers
X-API-Keystring required
Example:<LANGTAIL_API_KEY>
Your Langtail API Key
Request body
Example request
{
"metadata": {
"user_id": "user_123",
"conversation_topic": "product_inquiry",
"priority": "high"
}
}Response
Successfully updated thread
Example response
{
"metadata": {
"user_id": "user_123",
"conversation_topic": "product_inquiry",
"priority": "high"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.