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.metadata.list_chunks( data_connector_name="data_connector_name",)print(response.metadata)
{ "metadata": {}}
Metadata
List Chunk Metadata
Get metadata for specified files and tags
POST
/
metadata
/
chunk
/
list
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.metadata.list_chunks( data_connector_name="data_connector_name",)print(response.metadata)