Skip to main content
POST
/
suggest_regex
Python
from unstructured import UnstructuredClient

client = UnstructuredClient(
    username="My Username",
    password="My Password",
)
response = client.tags.pattern.suggest_patterns(
    description="description",
)
print(response.regex)
{
  "regex": "<string>",
  "explanation": "<string>"
}

Body

application/json
description
string
required
examples
string[] | null

Response

Successful Response

regex
string
required
explanation
string | null