Skip to main content
GET
/
datasources
/
{datasource_id}
/
content
Python
from meibel import MeibelClient

client = MeibelClient(api_key="your-api-key")

# Pagination - iterate over all items
for item in client.datasources.file_uploads.list_content("datasource_id_value"):
    print(item)
{
  "items": [
    {
      "name": "<string>",
      "path": "<string>",
      "type": "<string>",
      "size": 123,
      "media_type": "<string>",
      "last_modified": "<string>",
      "etag": "<string>"
    }
  ],
  "continuation_token": "<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

Path Parameters

datasource_id
string
required

Query Parameters

prefix
string | null

Filter content by path prefix

continuation_token
string | null

Token for pagination

limit
integer
default:1000

Maximum items to return

Required range: 1 <= x <= 10000

Response

Successful Response

Paginated list of files in a datasource's content store.

items
ContentItem · object[]
required

Page of content items

continuation_token
string | null

Pass to the next request as continuation_token to fetch the next page. Null when there are no more pages