Skip to main content
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": {
        "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.

Authorizations

Meibel-API-Key
string
header
required

Response

Successful Response

List of datasources visible to the caller.

datasources
DatasourceResponse · object[]
required

Datasources in the caller's project