Knowledge Engines
Data Sources
Workflows
Tool Runs
Knowledge Engines
List Data Sources for Knowledge Engine
Returns a list of all data sources associated with a knowledge engine
GET
/
api
/
v1
/
knowledge-engines
/
{id}
/
data-sources
Copy
curl --request GET \
--url https://api.getdecisional.ai/api/v1/knowledge-engines/{id}/data-sources
Copy
{
"value": [
{
"id": "ds_abc123xyz789",
"name": "Annual Report 2023",
"type": "file",
"status": "processed",
"notes": {
"category": "financial"
},
"knowledge_engine_id": "kng_abc123xyz789",
"created_at": 1679644800
},
{
"id": "ds_def456uvw321",
"name": "Q4 Metrics",
"type": "file",
"status": "processing",
"notes": {
"category": "metrics"
},
"knowledge_engine_id": "kng_abc123xyz789",
"created_at": 1679644900
}
]
}
Path Parameters
Knowledge engine ID
Response
200
application/json
List of data sources
The response is of type object[]
.
Copy
curl --request GET \
--url https://api.getdecisional.ai/api/v1/knowledge-engines/{id}/data-sources
Copy
{
"value": [
{
"id": "ds_abc123xyz789",
"name": "Annual Report 2023",
"type": "file",
"status": "processed",
"notes": {
"category": "financial"
},
"knowledge_engine_id": "kng_abc123xyz789",
"created_at": 1679644800
},
{
"id": "ds_def456uvw321",
"name": "Q4 Metrics",
"type": "file",
"status": "processing",
"notes": {
"category": "metrics"
},
"knowledge_engine_id": "kng_abc123xyz789",
"created_at": 1679644900
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.