Skip to content

Planning API

Generated from servtuner commit 5b46cdad0e5c.

Plan replicas, HPA and totals from the runs’ capacity models.

Request body: PlanCreate (application/json)

Status Meaning Body
200 Successful Response Plan

Saved scenarios, newest first.

Status Meaning Body
200 Successful Response array of ScenarioResource

Save a scenario under a name; its runs must exist and its request must be valid.

Request body: ScenarioCreate (application/json)

Status Meaning Body
201 Successful Response ScenarioResource

The workbench’s recompute: the same as POST /plans (models, inputs, overrides).

Request body: PlanCreate (application/json)

Status Meaning Body
200 Successful Response Plan

Deletes a saved scenario.

Parameter In Type Required Description
scenario_id path string Yes
Status Meaning Body
204 Successful Response None
422 Validation Error HTTPValidationError

Returns one saved scenario.

Parameter In Type Required Description
scenario_id path string Yes
Status Meaning Body
200 Successful Response ScenarioResource
422 Validation Error HTTPValidationError