Skip to main content
POST
/
metadata
/
filtered
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
)
response = client.metadata.list_filtered(
    data_connector_name="data_connector_name",
)
print(response.metadata)
{
  "metadata": {},
  "total_matches": 123,
  "next_offset": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.deasylabs.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
data_connector_name
string
required
conditions
Condition · object
node_condition
TagCondition · object[] | null
offset
integer | null
default:0
limit
integer | null
default:50
dataslice_id
string | null
search_query
string | null

Response

Successful Response

metadata
Metadata · object
required
total_matches
integer
required
next_offset
integer | null
required