Metrics
Hierarchical Perception Tree View
Provides a complete hierarchical tree structure showing clusters → attributes →
brands → sources, with mention counts at each level.
This endpoint returns a nested data structure perfect for visualization,
showing how perception flows from high-level themes (clusters) down through specific attributes, to which brands are associated with each attribute, and which AI sources mentioned them. The tree includes mention counts, making it easy to see volume and importance at each level. Ideal for comprehensive perception analysis and creating sunburst or tree visualizations.
**When to use:** User wants a complete hierarchical view of perception data, needs data structured for tree visualizations, wants to explore perception from themes down to specific brand mentions, or requires full detail with counts at every level.
**Common user queries:**
- "Show me the complete perception hierarchy"
- "Get the full cluster breakdown with brands"
- "I need hierarchical data for visualization"
- "Show clusters, attributes, and brands in a tree"
- "Get the nested structure of pros and cons"
- "What's the full breakdown from themes to mentions?"
**Returns:** Hierarchical tree object with nested children and mention counts.
Example: {"name": "pros", "children": [{"name": "Comfortable", "value": 450, "children": [{"name": "soft",
"value": 200, "children": [{"name": "Nike", "value": 120}]}]}]}
Required permission: `read:analysis`.
GET
Hierarchical Perception Tree View
Path Parameters
Query Parameters
Filter by a list of persona IDs. Values should be comma separated, without brackets or spaces. The IDs are resolved to the persona labels recorded on the analysis, so this returns the same rows as the equivalent persona__in call. Use it for analyses that carry persona_ids; analyses predating persona records have none, and must be filtered with persona or persona__in. An ID that is not one of the analysis's personas matches no rows.
Filter by one specific source.
Available options:
claude-3-5-sonnet, claude-4-5-sonnet, claude-4-6-sonnet, claude-4-sonnet, deepseek-chat, deepseek-reasoner, deepseek-v3.2-maas, gemini-1.5-pro, gemini-2.0-flash, gemini-2.5-flash, gemini-2.5-flash-grounded, gemini-2.5-flash-lite, gemini-3-flash-preview, gemini-3.5-flash-lite, google-ai-mode, gpt-3.5-turbo, gpt-4-turbo, gpt-4o, gpt-4o-mini-search, gpt-5, gpt-5.2, gpt-5.4-mini, meta-llama-3.1-70B-instruct-turbo, meta-llama-3.2-70B-instruct-turbo, meta-llama-3.3-70B-instruct-turbo, meta-llama-4-maverick, mistral-7B-instruct, muse-spark-1.2, muse-spark-1.3, perplexity-sonar, rufus Filter by a list of sources. Values should be comma separated, without brackets or spaces
Available options:
claude-3-5-sonnet, claude-4-5-sonnet, claude-4-6-sonnet, claude-4-sonnet, deepseek-chat, deepseek-reasoner, deepseek-v3.2-maas, gemini-1.5-pro, gemini-2.0-flash, gemini-2.5-flash, gemini-2.5-flash-grounded, gemini-2.5-flash-lite, gemini-3-flash-preview, gemini-3.5-flash-lite, google-ai-mode, gpt-3.5-turbo, gpt-4-turbo, gpt-4o, gpt-4o-mini-search, gpt-5, gpt-5.2, gpt-5.4-mini, meta-llama-3.1-70B-instruct-turbo, meta-llama-3.2-70B-instruct-turbo, meta-llama-3.3-70B-instruct-turbo, meta-llama-4-maverick, mistral-7B-instruct, muse-spark-1.2, muse-spark-1.3, perplexity-sonar, rufus Hierarchical Perception Tree View