Get auto-discovered structural type classifications from a discovery session.
After running discover_patterns, returns the structural categories the
platform identified in the data — without being told what categories
exist. Each category includes document count, distinguishing fields,
and domain hints inferred from the data shape.
This is a read-only retrieval. If discover_patterns has not been run
against the given blueprint namespace (or the session has expired),
returns an empty type list with status="no_session".
Use after discover_patterns when you want to understand how the
platform grouped your data before deciding which patterns to promote
via approve_rule.
Args:
api_key: GeodesicAI API key (starts with gai_)
blueprint: Discovery session namespace (must match the namespace
used in discover_patterns)
Returns:
status: "ok" or "no_session"
structural_types: list of {type_id, document_count, distinguishing_fields, domain_hint}
total_documents: total document count across all types
Connector