List Sources
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/sources \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/sources"
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', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"name": "<string>",
"object": "source",
"source_type": "<string>",
"source_id": "<string>",
"domain": "<string>",
"sync_status": "<string>",
"auto_sync_enabled": false,
"last_synced_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"has_more": true,
"total": 123,
"object": "list"
}Sources
List Sources
List all knowledge sources.
GET
/
api
/
v1
/
sources
List Sources
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/sources \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/sources"
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', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"name": "<string>",
"object": "source",
"source_type": "<string>",
"source_id": "<string>",
"domain": "<string>",
"sync_status": "<string>",
"auto_sync_enabled": false,
"last_synced_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"has_more": true,
"total": 123,
"object": "list"
}