import osfrom unstructured import UnstructuredClientclient = 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.tags.list_defaults()print(response)
import UnstructuredClient from 'unstructured-sdk';
const client = new UnstructuredClient({ authMethod: 'My Auth Method', username: process.env['UNSTRUCTURED_USERNAME'], // This is the default and can be omitted password: process.env['UNSTRUCTURED_PASSWORD'], // This is the default and can be omitted });
A valid request URL is required to generate request examples
A valid request URL is required to generate request examples
A valid request URL is required to generate request examples
A valid request URL is required to generate request examples
A valid request URL is required to generate request examples
{ "detail": "<string>"}
{ "detail": "<string>" }
{ "detail": "<string>" }
{ "detail": "<string>" }
Tags
Get Default Tags Route
Return the current OOB default tag definitions (name + available_values).
GET
/
tags
/
default
Python
import osfrom unstructured import UnstructuredClientclient = 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.tags.list_defaults()print(response)
import UnstructuredClient from 'unstructured-sdk';
const client = new UnstructuredClient({ authMethod: 'My Auth Method', username: process.env['UNSTRUCTURED_USERNAME'], // This is the default and can be omitted password: process.env['UNSTRUCTURED_PASSWORD'], // This is the default and can be omitted });