Overview
The Mindmap API generates hierarchical mindmap structures from your completed notebook research. The endpoint creates a visual representation of the research content organized into topics, subtopics, and key concepts.Generate Mindmap
POST /research/mindmap/{notebook_id}
Generate a mindmap structure from a notebook’s research content
Request
The notebook ID containing completed research to generate a mindmap from
Response
Unique identifier for the mindmap generation task
The notebook ID where results will be stored
Current task status:
IN_QUEUEHuman-readable status message
Example Request
Example Response
Error Responses
Check Task Status
Once submitted, use the Get Task Status endpoint to monitor progress:Example Completed Task Response
Mindmap Structure
The generated mindmap uses a hierarchical dictionary structure:Hierarchical mindmap structure
Title of the mindmap
Brief description of the mindmap content
Alternative Structure Format
The system also supports a flat node-based structure with parent-child relationships:List of all nodes in the mindmap
ID of the root/central node
Example Alternative Format
How It Works
- Content Analysis: The agent analyzes the notebook’s research content
- Hierarchical Organization: Identifies main topics, subtopics, and key concepts
- Structure Generation: Creates a hierarchical mindmap with up to 3 levels
- Node Creation: Generates concise node labels and relationships
- Storage: Results are stored in the notebook for later retrieval
Best Practices
- Complete Research First: Ensure the notebook has completed research before generating a mindmap
- Async Processing: Mindmap generation is async - use task status polling to monitor progress
- Error Handling: Implement retry logic for 500 errors
- Notebook Validation: Always check that the notebook exists before submitting the task
- Keep Labels Concise: Node labels are automatically kept to 1-3 words for clarity
Use Cases
- Create visual overviews of complex research topics
- Identify key themes and relationships in research
- Generate study materials and presentations
- Organize research findings hierarchically
- Export to mindmap visualization tools