Skip to main content

Re-optimize a capability by starting a canary rollout to a better model variant. Runs CapabilityOrchestratorService.opti

POST 

/api/v1/apps/:app_slug/capabilities/:capability_key/optimize

Re-optimize a capability by starting a canary rollout to a better model variant. Runs CapabilityOrchestratorService.optimize_capability() which: 1. Identifies the best available model variant for the fleet composition. 2. Creates or updates the staging/production deployment to target the new variant at a low initial rollout percentage (canary). 3. Returns the optimization result with per-tier details for multi-tier fleets. The rollout proceeds via the normal deployment automator — the operator monitors health and advances/rolls back via the standard deployment endpoints.

Request

Responses

Success