Skip to main content
POST
/
metadata
/
list
Python
import os
from unstructured import UnstructuredClient

client = 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
)
metadata = client.metadata.list(
    data_connector_name="data_connector_name",
)
print(metadata.metadata)
{
  "metadata": {}
}

Body

application/json
data_connector_name
string
required
dataslice_id
string | null
tag_names
string[] | null
include_chunk_level
boolean | null
default:true
file_names
string[] | null
chunk_ids
string[] | null

Response

Successful Response

metadata
Metadata · object
required