Close inactive conversations automatically
POST
/
conversations
/
ai
/
close-inactive
Close inactive conversations automatically
curl --request POST \
--url http://localhost:3002/api/v1/conversations/ai/close-inactive \
--header 'x-ai-tool-secret: <x-ai-tool-secret>'const options = {method: 'POST', headers: {'x-ai-tool-secret': '<x-ai-tool-secret>'}};
fetch('http://localhost:3002/api/v1/conversations/ai/close-inactive', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3002/api/v1/conversations/ai/close-inactive"
headers = {"x-ai-tool-secret": "<x-ai-tool-secret>"}
response = requests.post(url, headers=headers)
print(response.text)Headers
Response
200
Inactive conversations closed successfully
Last modified on July 18, 2026
⌘I
Close inactive conversations automatically
curl --request POST \
--url http://localhost:3002/api/v1/conversations/ai/close-inactive \
--header 'x-ai-tool-secret: <x-ai-tool-secret>'const options = {method: 'POST', headers: {'x-ai-tool-secret': '<x-ai-tool-secret>'}};
fetch('http://localhost:3002/api/v1/conversations/ai/close-inactive', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3002/api/v1/conversations/ai/close-inactive"
headers = {"x-ai-tool-secret": "<x-ai-tool-secret>"}
response = requests.post(url, headers=headers)
print(response.text)