import osfrom unstructured import UnstructuredClientclient = UnstructuredClient( username=os.environ.get("UNSTRUCTURED_USERNAME"), # This is the default and can be omitted password=os.environ.get("UNSTRUCTURED_PASSWORD"), # This is the default and can be omitted)response = client.data_source.list_ingested_data_paginated( data_connector_name="data_connector_name",)print(response.entities)
Retrieve a paginated list of files/nodes from the vector database - supports shared connections
POST
/
data
/
list_paginated
Python
import osfrom unstructured import UnstructuredClientclient = UnstructuredClient( username=os.environ.get("UNSTRUCTURED_USERNAME"), # This is the default and can be omitted password=os.environ.get("UNSTRUCTURED_PASSWORD"), # This is the default and can be omitted)response = client.data_source.list_ingested_data_paginated( data_connector_name="data_connector_name",)print(response.entities)