{"message":"CoDuck API V4","version":"1.0.0","status":"running","endpoints":{"health":"/api/health","auth":{"signup":"POST /api/auth/signup","login":"POST /api/auth/login","me":"GET /api/auth/me"},"ai":{"websocket":"WS /ws (requires authentication)","history":"GET /api/ai/history","stats":"GET /api/ai/stats","wsInfo":"GET /api/ai/ws-info"},"projects":["GET /api/projects - Get all user projects","GET /api/projects/:id - Get project details","GET /api/projects/:id/files - Get project files","GET /api/projects/:id/generations - Get generation history"],"deployments":["GET /api/deployments - Get all user deployments","POST /api/deployments/project/:projectId - Deploy a project","GET /api/deployments/:deploymentId - Get deployment status","GET /api/deployments/project/:projectId - Get project deployment","POST /api/deployments/:deploymentId/restart - Restart deployment","POST /api/deployments/:deploymentId/stop - Stop deployment","POST /api/deployments/:deploymentId/redeploy - Rebuild and redeploy","GET /api/deployments/:deploymentId/logs - Get container logs","GET /api/deployments/:deploymentId/stats - Get container stats","DELETE /api/deployments/:deploymentId - Delete deployment"],"jobs":["GET /api/jobs/stats - Get queue and worker statistics","GET /api/jobs - Get user's jobs","GET /api/jobs/project/:projectId - Get project jobs","GET /api/jobs/:jobId - Get job details","POST /api/jobs/:jobId/cancel - Cancel a job","POST /api/jobs/archive - Archive old jobs"],"websocket":{"chat":"Send type:\"chat\" for regular chat","generate":"Send type:\"generate\" for website generation"}}}