from meibel import MeibelClient
client = MeibelClient(api_key="your-api-key")
# Create request body
body = UpdateDatasourceRequest(name="Example")
result = client.datasources.update("datasource_id_value", body=body)
print(result){
"id": "<string>",
"name": "<string>",
"description": "<string>",
"connector": {
"type": "database",
"database": {
"host": "<string>",
"port": 123,
"database": "<string>",
"schema_name": "<string>"
},
"cloud_storage": {
"provider": "s3",
"bucket": "<string>",
"prefix": "<string>",
"role_arn": "<string>",
"region": "<string>"
},
"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": {
"type": "catalog",
"fields": [
{
"name": "<string>",
"type": "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>"
}
]
}from meibel import MeibelClient
client = MeibelClient(api_key="your-api-key")
# Create request body
body = UpdateDatasourceRequest(name="Example")
result = client.datasources.update("datasource_id_value", body=body)
print(result){
"id": "<string>",
"name": "<string>",
"description": "<string>",
"connector": {
"type": "database",
"database": {
"host": "<string>",
"port": 123,
"database": "<string>",
"schema_name": "<string>"
},
"cloud_storage": {
"provider": "s3",
"bucket": "<string>",
"prefix": "<string>",
"role_arn": "<string>",
"region": "<string>"
},
"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": {
"type": "catalog",
"fields": [
{
"name": "<string>",
"type": "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>"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.meibel.ai/llms.txt
Use this file to discover all available pages before exploring further.
Body for updating a datasource. Omit a field to leave it unchanged.
Updated datasource name
Updated description
Updated connection configuration
Show child attributes
Metadata extraction config — if changed, re-extraction triggers automatically
Show child attributes
Table and column descriptions to update (structured datasources only)
Show child attributes
Successful Response
A datasource with its latest sync/ingest state and (optionally) table details.
Unique datasource ID
Human-readable datasource name
What this datasource contains
Connection configuration
Show child attributes
ISO 8601 creation timestamp
ISO 8601 last-update timestamp
ISO 8601 timestamp of the most recent ingest run
Status of the most recent ingest run (e.g. 'completed', 'failed')
Total number of files ingested across all runs
Current metadata extraction configuration
Show child attributes
File counts for the datasource
Show child attributes
Per-method counts from the latest ingest run
Show child attributes
Tables discovered on a structured datasource — only populated when include_tables=true
Show child attributes
Was this page helpful?