from unstructured import UnstructuredClient
client = UnstructuredClient(
username="My Username",
password="My Password",
)
tags = client.tags.list()
print(tags.tags){
"tags": [
{
"tag_id": "<string>",
"username": "<string>",
"name": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"output_type": "string",
"available_values": [],
"examples": [],
"updated_at": "2025-10-31T16:15:55.923700",
"tuned": 0,
"maxValues": 123,
"date_format": "MM-dd-YYYY",
"enhance_file_metadata": true,
"group": "<string>",
"min_confidence": 123,
"strategy": "LLM",
"patterns": [],
"visual_rules": [],
"scope": "ALL_PAGES"
}
]
}List all tags for the authenticated user.
{ "tags": List[DeasyTag] }{
"tags": [
{
"name": "category",
"description": "Document category",
"type": "select",
"available_values": ["invoice", "receipt"]
},
{
"name": "date",
"description": "Document date",
"type": "date"
}
]
}
from unstructured import UnstructuredClient
client = UnstructuredClient(
username="My Username",
password="My Password",
)
tags = client.tags.list()
print(tags.tags){
"tags": [
{
"tag_id": "<string>",
"username": "<string>",
"name": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"output_type": "string",
"available_values": [],
"examples": [],
"updated_at": "2025-10-31T16:15:55.923700",
"tuned": 0,
"maxValues": 123,
"date_format": "MM-dd-YYYY",
"enhance_file_metadata": true,
"group": "<string>",
"min_confidence": 123,
"strategy": "LLM",
"patterns": [],
"visual_rules": [],
"scope": "ALL_PAGES"
}
]
}Successful Response
Show child attributes
string, binary, number, date Show child attributes
Show child attributes
AND, OR