Run a what-if capacity scenario

POST/api/v1/capacity/what-if

Parameters

This endpoint does not accept parameters.

Responses

200Scenario result

Request

curl -X POST "https://api.knowledgetree.dev/api/v1/capacity/what-if" \
  -H "Authorization: Bearer $KT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "scenario": "add_20_percent_traffic", "resource_type": "ec2", "scope_id": "scope_prod" }'

Response

200Scenario result
Example response not yet documented.