Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Project statistics, activity feed, and Claude usage data
GET /api/projects/:projectId/stats
{ "statusCounts": { "backlog": 5, "in_progress": 2, "testing": 1, "done": 12 }, "typeCounts": { "feature": 8, "bugfix": 5, "refactor": 3, "docs": 2, "test": 1, "chore": 1 }, "priorityCounts": { "0": 3, "1": 10, "2": 5, "3": 2 }, "totalTasks": 20, "avgDuration": 845000, "completedToday": 3 }
statusCounts
typeCounts
priorityCounts
totalTasks
avgDuration
completedToday
GET /api/projects/:projectId/activity?limit=50&offset=0
limit
50
offset
0
[ { "taskId": 5, "taskTitle": "Add login page", "event": "status_change", "from": "in_progress", "to": "testing", "timestamp": "2025-01-15T14:30:00Z" } ]
GET /api/stats/claude-usage
{ "usage": { "totalInputTokens": 125000, "totalOutputTokens": 48000, "totalCacheRead": 30000, "totalCacheCreation": 15000, "totalCost": 12.50 }, "models": { "sonnet": { "tasks": 10, "inputTokens": 80000, "outputTokens": 30000, "cost": 5.20 }, "opus": { "tasks": 3, "inputTokens": 40000, "outputTokens": 15000, "cost": 6.80 }, "haiku": { "tasks": 7, "inputTokens": 5000, "outputTokens": 3000, "cost": 0.50 } }, "timeline": [...], "limits": { "dailyLimit": null, "currentUsage": 12.50 } }
invoke('get_claude_md', { projectId: 1 })
{ "content": "# Project Instructions\n...", "path": "/home/user/my-app/CLAUDE.md", "exists": true }
invoke('save_claude_md', { projectId: 1, content: "# Updated instructions" })