Python
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.get_datasource_content_metadata(datasource_id="<id>", path="/opt/include") # Handle response print(res)
{ "name": "<string>", "path": "<string>", "type": "file", "size": 123, "media_type": "<string>", "last_modified": "<string>", "etag": "<string>", "metadata": {} }
Get metadata information for a file or directory in the datasource
Content metadata information
GetContentResponse
ContentType
file
directory
Was this page helpful?