Python
from meibel import MeibelClient
client = MeibelClient(api_key="your-api-key")
result = client.datasources.list()
print(result){
"datasources": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"connector": {
"cloud_storage": {},
"web_crawl": {
"base_url": "<string>",
"javascript_render": false,
"domains": [
{
"domain": "<string>",
"include_pattern": "<string>",
"exclude_pattern": ""
}
]
}
},
"created_at": "<string>",
"updated_at": "<string>",
"last_sync_at": "<string>",
"last_sync_status": "<string>",
"total_ingested_files": 123,
"metadata_config": {
"fields": [
{
"name": "<string>",
"description": "<string>",
"index": true
}
],
"model_id": "<string>"
},
"files": {
"total": 123,
"deleted": 123
},
"ingest_counts": {
"rag": {
"total": 123,
"new": 123,
"updated": 123
},
"tag": {
"total": 123,
"new": 123,
"updated": 123
},
"ref_graph": {
"total": 123,
"new": 123,
"updated": 123
}
},
"tables": [
{
"name": "<string>",
"column_count": 123,
"description": "<string>"
}
]
}
]
}Datasources
List Datasources
GET
/
datasources
Python
from meibel import MeibelClient
client = MeibelClient(api_key="your-api-key")
result = client.datasources.list()
print(result){
"datasources": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"connector": {
"cloud_storage": {},
"web_crawl": {
"base_url": "<string>",
"javascript_render": false,
"domains": [
{
"domain": "<string>",
"include_pattern": "<string>",
"exclude_pattern": ""
}
]
}
},
"created_at": "<string>",
"updated_at": "<string>",
"last_sync_at": "<string>",
"last_sync_status": "<string>",
"total_ingested_files": 123,
"metadata_config": {
"fields": [
{
"name": "<string>",
"description": "<string>",
"index": true
}
],
"model_id": "<string>"
},
"files": {
"total": 123,
"deleted": 123
},
"ingest_counts": {
"rag": {
"total": 123,
"new": 123,
"updated": 123
},
"tag": {
"total": 123,
"new": 123,
"updated": 123
},
"ref_graph": {
"total": 123,
"new": 123,
"updated": 123
}
},
"tables": [
{
"name": "<string>",
"column_count": 123,
"description": "<string>"
}
]
}
]
}Was this page helpful?
⌘I