Assistant
Clear thread goal.
Clear the current durable goal without modifying visible thread messages.
DELETE
/
api
/
v1
/
assistant
/
threads
/
{id}
/
goal
Clear thread goal.
curl --request DELETE \
--url https://api.revoengine.com/api/v1/assistant/threads/{id}/goal \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/assistant/threads/{id}/goal', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/assistant/threads/{id}/goal"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)⌘I
Clear thread goal.
curl --request DELETE \
--url https://api.revoengine.com/api/v1/assistant/threads/{id}/goal \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/assistant/threads/{id}/goal', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/assistant/threads/{id}/goal"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)
