Reindex a workspace
curl --request POST \
--url https://api.arg.ai/api/workspaces/{workspaceId}/search/reindex \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/workspaces/{workspaceId}/search/reindex"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/workspaces/{workspaceId}/search/reindex', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}Search
Reindex a workspace
Rebuild the workspace’s search index in the background.
POST
/
api
/
workspaces
/
{workspaceId}
/
search
/
reindex
Reindex a workspace
curl --request POST \
--url https://api.arg.ai/api/workspaces/{workspaceId}/search/reindex \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/workspaces/{workspaceId}/search/reindex"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/workspaces/{workspaceId}/search/reindex', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}