export_conversation_data
Export chat conversations from Cursor in JSON, CSV, or Graph formats for analysis, visualization, or integration with external tools.
Instructions
Export chat data in various formats (JSON, CSV, Graph) for external analysis, visualization, or integration with other tools. TIP: Use filters.projectPath to export only project-specific conversations for focused analysis of a particular codebase. Use this to create datasets for machine learning, generate reports for stakeholders, prepare data for visualization tools like Gephi or Tableau, or backup chat data in structured formats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conversationIds | No | Specific conversation IDs to export (if not provided, exports all conversations) | |
| format | No | Export format: JSON for structured data, CSV for spreadsheets, Graph for network analysis | json |
| includeContent | No | Include full conversation content in the export | |
| includeRelationships | No | Include relationship data between conversations | |
| flattenStructure | No | Flatten nested structures for easier processing | |
| filters | No | Filters to apply when selecting conversations to export | |
| outputMode | No | Output format: "json" for formatted JSON (default), "compact-json" for minified JSON | json |