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
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.