{"api":"LogTrack Backend API","version":"1.0.0","status":"active","description":"Log tracking and analysis system for monitoring application logs","documentation":{"base_url":"https:\/\/api.tracking-logs.uteek.net","api_prefix":"\/api","authentication":{"type":"Laravel Sanctum","description":"Token-based authentication for SPA","endpoints":{"register":{"method":"POST","path":"\/api\/auth\/register","description":"Register a new user account","body":{"name":"string (required)","email":"string (required, valid email)","password":"string (required, min:8)","password_confirmation":"string (required)"}},"login":{"method":"POST","path":"\/api\/auth\/login","description":"Login and receive authentication token","body":{"email":"string (required)","password":"string (required)"}},"logout":{"method":"POST","path":"\/api\/auth\/logout","description":"Logout current user","auth":"required"},"user":{"method":"GET","path":"\/api\/user","description":"Get authenticated user information","auth":"required"}}},"endpoints":{"health_check":{"method":"GET","path":"\/api\/health","description":"Check API health status","auth":"not required"},"projects":{"list":{"method":"GET","path":"\/api\/projects","description":"Get all projects for authenticated user","auth":"required"},"create":{"method":"POST","path":"\/api\/projects","description":"Create a new project","auth":"required","body":{"name":"string (required)","description":"string (optional)","repository_url":"string (optional)"}},"show":{"method":"GET","path":"\/api\/projects\/{id}","description":"Get specific project details","auth":"required"},"update":{"method":"PUT","path":"\/api\/projects\/{id}","description":"Update project information","auth":"required"},"delete":{"method":"DELETE","path":"\/api\/projects\/{id}","description":"Delete a project","auth":"required"}},"logs":{"list":{"method":"GET","path":"\/api\/projects\/{project_id}\/logs","description":"Get logs for a specific project","auth":"required","query_params":{"level":"string (optional: error, warning, info, debug)","from_date":"datetime (optional)","to_date":"datetime (optional)","search":"string (optional)","page":"integer (optional)","per_page":"integer (optional, default: 50)"}},"create":{"method":"POST","path":"\/api\/projects\/{project_id}\/logs","description":"Submit new log entries","auth":"required","body":{"level":"string (required: error, warning, info, debug)","message":"string (required)","context":"object (optional)","timestamp":"datetime (optional)","source":"string (optional)"}},"show":{"method":"GET","path":"\/api\/logs\/{id}","description":"Get specific log entry details","auth":"required"},"batch":{"method":"POST","path":"\/api\/projects\/{project_id}\/logs\/batch","description":"Submit multiple log entries at once","auth":"required","body":{"logs":"array (required, array of log objects)"}}},"analysis":{"analyze":{"method":"POST","path":"\/api\/projects\/{project_id}\/analyze","description":"Run AI analysis on project logs","auth":"required","body":{"time_range":"string (optional: 1h, 24h, 7d, 30d)","log_levels":"array (optional)","focus_areas":"array (optional)"}},"insights":{"method":"GET","path":"\/api\/projects\/{project_id}\/insights","description":"Get AI-generated insights and patterns","auth":"required"},"stats":{"method":"GET","path":"\/api\/projects\/{project_id}\/stats","description":"Get log statistics and metrics","auth":"required","query_params":{"time_range":"string (optional: 1h, 24h, 7d, 30d)"}}},"configuration":{"get":{"method":"GET","path":"\/api\/projects\/{project_id}\/config","description":"Get log configuration for project","auth":"required"},"update":{"method":"PUT","path":"\/api\/projects\/{project_id}\/config","description":"Update log configuration","auth":"required","body":{"retention_days":"integer (optional)","alert_levels":"array (optional)","notification_settings":"object (optional)"}}}},"response_format":{"success":{"data":"object|array","message":"string (optional)","meta":"object (optional, pagination info)"},"error":{"error":"string","message":"string","errors":"object (optional, validation errors)"}},"cors":{"enabled":true,"allowed_origins":["http:\/\/localhost:3000","http:\/\/localhost:5173","http:\/\/localhost:5174"],"credentials":true},"rate_limiting":{"authenticated":"60 requests per minute","unauthenticated":"30 requests per minute"}},"features":["Real-time log tracking and monitoring","AI-powered log analysis and insights","Project-based log organization","Advanced filtering and search capabilities","Customizable log retention policies","Alert and notification system","Statistical analysis and reporting","Batch log submission","Multi-user project collaboration"],"database":{"type":"PostgreSQL","connection":"active"},"tech_stack":{"framework":"Laravel 11","language":"PHP 8.2","database":"PostgreSQL","authentication":"Laravel Sanctum","frontend":"React (separate application)"},"links":{"health_check":"\/api\/health","github":"https:\/\/github.com\/your-repo\/log-track","documentation":"https:\/\/docs.logtrack.app"},"status_codes":{"200":"Success","201":"Created","400":"Bad Request","401":"Unauthorized","403":"Forbidden","404":"Not Found","422":"Validation Error","429":"Too Many Requests","500":"Internal Server Error"}}