ReferenceV1
Update Thread
Update a chat thread.
Path Parameters
thread_id*string
Format
uuidHeader Parameters
authorization?|
X-API-Key?|
Cookie Parameters
vai_token?|
Request Body
application/json
metadata?|
systemPrompt?|
title?|
Response Body
application/json
application/json
curl -X PATCH "https://loading/api/v1/chat/threads/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"createdAt": "2019-08-24T14:15:22Z",
"id": "string",
"lastMessageAt": "2019-08-24T14:15:22Z",
"lastTurnId": "string",
"metadata": {},
"systemPrompt": "string",
"title": "string",
"updatedAt": "2019-08-24T14:15:22Z"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}