Get Project Statistics
get_statisticsRetrieve project-wide statistics: word count, document count, title, and author. Optionally include extended per-category statistics.
Instructions
Return project-wide statistics: total word and document counts, plus title and author. Use this for a quick project overview; use get_structure for the per-document breakdown or get_document_info for a single document. Requires an open project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detailed | No | Include extended per-category statistics when available. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Project title (defaults to "Untitled"). | |
| author | No | Project author, if set. | |
| metadata | Yes | Project metadata. | |
| totalWords | Yes | Total word count across all documents. | |
| lastModified | Yes | ISO timestamp of when these statistics were generated. | |
| totalFolders | Yes | Number of folder items. | |
| draftDocuments | Yes | Number of documents in the Draft. | |
| totalDocuments | Yes | Total number of items in the project. | |
| documentsByType | Yes | Count of documents keyed by type. | |
| longestDocument | No | The longest document, or null if none. | |
| totalCharacters | Yes | Total character count across all documents. | |
| documentsByLabel | Yes | Count of documents keyed by label. | |
| recentlyModified | Yes | Recently modified documents. | |
| shortestDocument | No | The shortest document, or null if none. | |
| trashedDocuments | Yes | Number of trashed documents. | |
| documentsByStatus | Yes | Count of documents keyed by status. | |
| researchDocuments | Yes | Number of documents in Research. | |
| averageDocumentLength | Yes | Average word count per text document. |