DocumentationAPI Reference
Startup Analysis
AI-powered analysis of the latest server run (logs/latest.log): startup problems, failed starts and crashes after startup.
Requires ai_analysis / hasOptimization (Premium or addon) or Premium plan
GET
/servers/:id/startup-analysisAnalyzes the latest server run. Optional query parameter lang=de|en (default: en) for the language of the AI analysis.
curl "https://www.mado-hosting.com/api/v1/servers/srv_abc123/startup-analysis?lang=en" \
-H "Authorization: Bearer rsk_your_key"Results are cached per server run, so repeated requests for the same log do not trigger a new AI analysis. New AI analyses are limited per server and account; when the limit is reached, aiError contains the code rate_limited or daily_budget and retryAfter in seconds, while errors and warnings are still returned.