Reindex a page
curl --request POST \
--url https://api.webstashai.com/pages/{id}/reindex \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.webstashai.com/pages/{id}/reindex', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.webstashai.com/pages/{id}/reindex"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"id": "<string>",
"status": "processing"
}{
"error": "<string>"
}Reindex a page
POST
https://api.webstashai.com
/
pages
/
{id}
/
reindex
Reindex a page
curl --request POST \
--url https://api.webstashai.com/pages/{id}/reindex \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.webstashai.com/pages/{id}/reindex', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.webstashai.com/pages/{id}/reindex"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"id": "<string>",
"status": "processing"
}{
"error": "<string>"
}