from meibelai import Meibelai
import os
with Meibelai(
api_key_header=os.getenv("MEIBELAI_API_KEY_HEADER", ""),
) as m_client:
res = m_client.datasources.get_datasource(datasource_id="<id>")
# Handle response
print(res){
"id": "<string>",
"customer_id": "<string>",
"project_id": "<string>",
"name": "<string>",
"description": "<string>",
"recurrence": "<string>",
"created_by": "<string>",
"created_at": "<string>",
"updated_by": "<string>",
"updated_at": "<string>",
"object_storage_config": {
"bucket": "<string>",
"prefix": "<string>",
"filters": {
"included_prefixes": [
"<string>"
],
"included_file_types": [
"<string>"
],
"recursive_prefixes": true,
"modified_date_start": "<string>",
"modified_date_end": "<string>",
"min_file_size": 123,
"max_file_size": 123
},
"gcs_config": {},
"s3_config": {
"role_arn": "<string>",
"region": "<string>"
}
},
"web_config": {
"baseURL": "<string>",
"javascriptRender": true,
"waitForSelector": "<string>",
"domains": [
{
"domain": "<string>",
"limitPattern": "<string>",
"excludePattern": "<string>",
"ingestible": true,
"expandable": true
}
],
"authentication": {
"username": "<string>",
"password": "<string>"
}
},
"connector_config": {
"connector_id": "<string>",
"airbyte_config": {
"source_id": "<string>",
"destination_id": "<string>",
"connection_id": "<string>"
},
"source_config": {}
}
}from meibelai import Meibelai
import os
with Meibelai(
api_key_header=os.getenv("MEIBELAI_API_KEY_HEADER", ""),
) as m_client:
res = m_client.datasources.get_datasource(datasource_id="<id>")
# Handle response
print(res){
"id": "<string>",
"customer_id": "<string>",
"project_id": "<string>",
"name": "<string>",
"description": "<string>",
"recurrence": "<string>",
"created_by": "<string>",
"created_at": "<string>",
"updated_by": "<string>",
"updated_at": "<string>",
"object_storage_config": {
"bucket": "<string>",
"prefix": "<string>",
"filters": {
"included_prefixes": [
"<string>"
],
"included_file_types": [
"<string>"
],
"recursive_prefixes": true,
"modified_date_start": "<string>",
"modified_date_end": "<string>",
"min_file_size": 123,
"max_file_size": 123
},
"gcs_config": {},
"s3_config": {
"role_arn": "<string>",
"region": "<string>"
}
},
"web_config": {
"baseURL": "<string>",
"javascriptRender": true,
"waitForSelector": "<string>",
"domains": [
{
"domain": "<string>",
"limitPattern": "<string>",
"excludePattern": "<string>",
"ingestible": true,
"expandable": true
}
],
"authentication": {
"username": "<string>",
"password": "<string>"
}
},
"connector_config": {
"connector_id": "<string>",
"airbyte_config": {
"source_id": "<string>",
"destination_id": "<string>",
"connection_id": "<string>"
},
"source_config": {}
}
}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.
Successful Response
Datasource
ObjectStorageConfig
Show child attributes
DatasourceWebConfig
Show child attributes
DatasourceConnectorConfig
Show child attributes
Was this page helpful?