Sync a knowledge connector now
curl --request POST \
--url https://app.hookie.ai/admin/api/projects/{project_id}/connectors/{provider}/syncconst options = {method: 'POST'};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/connectors/{provider}/sync', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{project_id}/connectors/{provider}/sync"
response = requests.post(url)
print(response.text){}Projects
Sync a knowledge connector now
Brings the brain in step with the source: new and changed pages read (up to 20 per run, the rest left pending for the scheduled sync, in remaining), removed pages dropped. rate_limited says the provider asked Hookie to slow down; the sync carries on later. Needs write access to the project’s context; connected agents may. A page that cannot be read this time keeps its last text and is tried again within the hour; a page the source no longer has is marked gone.
POST
/
admin
/
api
/
projects
/
{project_id}
/
connectors
/
{provider}
/
sync
Sync a knowledge connector now
curl --request POST \
--url https://app.hookie.ai/admin/api/projects/{project_id}/connectors/{provider}/syncconst options = {method: 'POST'};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/connectors/{provider}/sync', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{project_id}/connectors/{provider}/sync"
response = requests.post(url)
print(response.text){}Path Parameters
Response
Successful operation
The response is of type object.