Simulations

Validate both cost and performance accuracy

Convenience endpoint that runs both cost and performance accuracy validations in a single call. Returns a combined result with an overallValid flag that is true only if both checks pass.

Requires read scope and ownership.

get/simulations/{simulationId}/validate-accuracy

Request

  • Base URL: https://www.cloudworldmodel.ai/api
  • URL: https://www.cloudworldmodel.ai/api/simulations/{simulationId}/validate-accuracy
  • Auth: none required

Path parameters

simulationIdstring required

Simulation UUID

Response

Combined accuracy validation result

checkedboolean

true when at least one of the two sub-validations (cost or performance) found comparable benchmark data and ran a real check. false means neither sub-result found matching benchmarks — overallValid: true in this state does not mean accuracy was verified.

overallValidboolean

true only when both cost and performance valid flags are true. Only meaningful when checked is true.

Example response

{
  "cost": {
    "validations": [
      {
        "resource": "web-server",
        "provider": "aws",
        "serviceFamily": "compute",
        "size": "m5.large",
        "simulatedCost": 0.098,
        "benchmarkCost": 0.096,
        "deviation": 2.08,
        "withinThreshold": true,
        "source": "AWS EC2 m5.large pricing"
      }
    ]
  },
  "performance": {
    "validations": [
      {
        "resource": "web-server",
        "provider": "aws",
        "serviceFamily": "compute",
        "size": "m5.large",
        "metric": "max_throughput",
        "simulatedValue": 9800,
        "benchmarkValue": 10000,
        "deviation": 2,
        "withinThreshold": true,
        "unit": "RPS",
        "source": "AWS EC2 m5.large benchmark"
      }
    ]
  },
  "checked": true,
  "overallValid": true,
  "thresholds": {
    "cost": "±10%",
    "performance": "±15%"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.