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

Body

application/json
data_connector_name
string
required
dataslice_id
string | null
tag_names
string[] | null
include_chunk_level
boolean | null
default:true
offset
integer | null
default:0
limit
integer | null
default:50

Response

Successful Response

metadata
Metadata · object
required
next_offset
integer | null
required