Get Source Toc
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/sources/{source_id}/toc \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/sources/{source_id}/toc"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/sources/{source_id}/toc', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{}
],
"object": "toc"
}Sources
Get Source Toc
Get the table of contents tree for a knowledge source.
GET
/
api
/
v1
/
sources
/
{source_id}
/
toc
Get Source Toc
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/sources/{source_id}/toc \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/sources/{source_id}/toc"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/sources/{source_id}/toc', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{}
],
"object": "toc"
}