Skip to main content
GET
/
datasource
/
{datasource_id}
/
content
/
{path}
/
download
Python (SDK)
from meibelai import Meibelai
import os


with Meibelai(
    api_key_header=os.getenv("MEIBELAI_API_KEY_HEADER", ""),
) as m_client:

    res = m_client.datasources.content.download_datasource_content(datasource_id="<id>", path="/usr/src")

    # Handle response
    print(res)
"<string>"

Authorizations

Meibel-API-Key
string
header
required

Path Parameters

datasource_id
string
required
path
string
required

Response

File content stream

The response is of type file.