Sync Source
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/sources/{source_id}/sync \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/sources/{source_id}/sync"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/sources/{source_id}/sync', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "<string>",
"source_id": "<string>",
"object": "sync"
}Sources
Sync Source
Trigger a sync for a knowledge source.
POST
/
api
/
v1
/
sources
/
{source_id}
/
sync
Sync Source
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/sources/{source_id}/sync \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/sources/{source_id}/sync"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/sources/{source_id}/sync', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "<string>",
"source_id": "<string>",
"object": "sync"
}