Update a Chat
Guide to updating a Chat in the Fetch Hive API.
Update a specific chat's details
Authorizations
Path parameters
agent_idstringRequired
Agent token
idstringRequired
Chat token
Body
Responses
200
Successful response
application/json
default
Error
application/json
patch
PATCH /v1/agents/{agent_id}/chats/{id} HTTP/1.1
Host: api.fetchhive.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"chat": {
"name": "text"
}
}
{
"message": "Successfully updated a chat.",
"chat": {
"id": 1,
"name": "text",
"last_message_content": "text",
"last_message_sent_at": "2025-06-26T18:50:42.269Z",
"message_count": 1,
"generated_at": "2025-06-26T18:50:42.269Z",
"token": "text",
"status": "text",
"agent": {
"token": "text"
}
}
}
Last updated
Was this helpful?