{"uid":"cap_8j_fOnj-Nyndcful19hJT","slug":"cloud-world-model-analyze-bottlenecks-695bf583","name":"Cloud World Model – Analyze Bottlenecks","description":"Simulate AWS, GCP, Azure, OCI, and DigitalOcean cloud infrastructure without provisioning real resources. Built for Canvas Cloud AI learners and agents.","url":"https://www.cloudworldmodel.ai/api/simulations/%7BsimulationId%7D/analyze-bottlenecks","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"beginnerMode":{"type":"boolean","description":"Return simplified bottleneck analysis"}}},"responseSchema":{"type":"json","example":{"analysis":"The primary bottleneck is the database tier: connection pool pressure is at 94% and p95 latency has climbed to 340 ms. The compute nodes are healthy at 55% CPU. Migrating to a managed database with read replicas would reduce latency by an estimated 40%.","doRecommendation":"Upgrade to a DigitalOcean Managed Database (db-s-2vcpu-4gb) with one read replica to offload analytics queries and reduce connection pool pressure."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cwTFrhMQS-9SAHtZoa0Vw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a running cloud infrastructure simulation to identify performance bottlenecks and provides actionable recommendations without provisioning real resources.","exampleAgentPrompt":"My Cloud World Model simulation (ID: sim_abc123) seems to be struggling — can you analyze it for bottlenecks and tell me what's slowing things down? Use beginner mode so I can understand the results.","exampleUseCases":[{"title":"Database tier bottleneck diagnosis","prompt":"I'm running a cloud simulation on Cloud World Model with ID sim_xyz789 and my app feels sluggish — can you analyze it for bottlenecks and tell me if it's a database issue?"},{"title":"Learning cloud architecture tradeoffs","prompt":"I'm studying for my cloud certification and want to understand what bottlenecks look like — can you run a beginner-mode bottleneck analysis on my simulation sim_learn42 and explain the results simply?"},{"title":"Pre-launch infrastructure review","prompt":"Before I push my architecture to production, I want to stress-test it in simulation — analyze bottlenecks on sim_prod99 and tell me which tier I should upgrade first and what specific change to make."}],"resultDescription":"Returns a JSON object with a natural-language 'analysis' field describing the primary bottleneck (e.g. database connection pool pressure, p95 latency stats, CPU utilization levels) and a provider-specific 'doRecommendation' suggesting a concrete upgrade or configuration change (e.g. switching to a managed database with read replicas on DigitalOcean) along with estimated performance improvements.","failureModes":["simulationId not found or expired — returns 404 with error message","simulation still initializing — returns 409 conflict or 503","malformed request body — returns 400 with validation error","payment not received or insufficient — returns 402 Payment Required","internal simulation engine error — returns 500"],"whenToPreferThis":"Choose this endpoint when you have an existing Cloud World Model simulation and need to programmatically identify which infrastructure tier is the performance bottleneck and get a concrete, provider-specific recommendation for improvement — all without incurring real cloud provisioning costs. Prefer this over general cloud cost tools when the goal is latency and throughput diagnosis within a sandboxed simulation, especially useful for learners, pre-production architecture reviews, or AI agents iterating on cloud designs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:46:01.920Z","isFirstParty":false}