Assistant
Cancel thread.
Cancel execution of a thread.
POST
/
api
/
v1
/
assistant
/
threads
/
{id}
/
cancel
Cancel thread.
curl --request POST \
--url https://api.revoengine.com/api/v1/assistant/threads/{id}/cancel \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/assistant/threads/{id}/cancel', 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}/cancel"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)Authorizations
Bearer JWT token or API Key (sk-*).
Path Parameters
Query Parameters
Thread version captured when cancellation started. Retries must reuse the same value.
Required range:
x >= 0Response
Cancellation acknowledged; the previous turn is fenced and cannot resume.
Last modified on September 5, 2026
⌘I
Cancel thread.
curl --request POST \
--url https://api.revoengine.com/api/v1/assistant/threads/{id}/cancel \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/assistant/threads/{id}/cancel', 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}/cancel"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)
