Update document status from AI worker context
PATCH
Update document status from AI worker context
Last modified on July 17, 2026
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
InteraOne is open source — star or contribute on GitHub.
curl --request PATCH \
--url http://localhost:3002/api/v1/knowledge/ai/{documentId}/status \
--header 'x-ai-tool-secret: <x-ai-tool-secret>'const options = {method: 'PATCH', headers: {'x-ai-tool-secret': '<x-ai-tool-secret>'}};
fetch('http://localhost:3002/api/v1/knowledge/ai/{documentId}/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3002/api/v1/knowledge/ai/{documentId}/status"
headers = {"x-ai-tool-secret": "<x-ai-tool-secret>"}
response = requests.patch(url, headers=headers)
print(response.text)curl --request PATCH \
--url http://localhost:3002/api/v1/knowledge/ai/{documentId}/status \
--header 'x-ai-tool-secret: <x-ai-tool-secret>'const options = {method: 'PATCH', headers: {'x-ai-tool-secret': '<x-ai-tool-secret>'}};
fetch('http://localhost:3002/api/v1/knowledge/ai/{documentId}/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3002/api/v1/knowledge/ai/{documentId}/status"
headers = {"x-ai-tool-secret": "<x-ai-tool-secret>"}
response = requests.patch(url, headers=headers)
print(response.text)