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

client = UnstructuredClient(
    username="My Username",
    password="My Password",
)
response = client.metadata.upsert(
    metadata={
        "foo": {
            "foo": {}
        }
    },
)
print(response.success)
{
  "success": true
}

Body

application/json
metadata
Metadata · object
required
data_connector_name
string | null
dataslice_id
string | null

Response

Successful Response

success
boolean
required