Skip to main content
POST
/
metadata
/
standardization_bulk
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.standardization_bulk(
    tag_names=["string"],
    vdb_profile_name="vdb_profile_name",
)
print(response.job_id)
{
  "success": true,
  "standardization_results": [
    {
      "tag_name": "<string>",
      "before_count": 123,
      "after_count": 123,
      "after_values": [
        "<string>"
      ]
    }
  ],
  "failed_tags": {},
  "job_id": "<string>",
  "status": "<string>",
  "message": "<string>",
  "updated_searchability_scores": {}
}

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
vdb_profile_name
string
required
tag_names
string[]
required

List of tag names to standardize.

only_dedupe
boolean | null
default:true

If True, only perform simple keyword-based deduplication.

job_id
string | null
taxonomy_name
string | null

Response

Successful Response

success
boolean
required
standardization_results
StandardizationResult · object[]

Results for tags successfully processed.

failed_tags
Failed Tags · object

Tags that failed standardization, with error messages.

job_id
string | null

Job ID for tracking background task status.

status
string | null

Current status of the standardization job.

message
string | null

Status message for the job.

updated_searchability_scores
Updated Searchability Scores · object

Updated searchability scores after standardization.