---
title: "Design Re Optimize"
method: POST
path: "/api/design/re-optimize"
tags: ["design-import"]
---

# Design Re Optimize

`POST /api/design/re-optimize`

## Request

- Base URL: `https://api.pcbgenerator.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pcbgenerator.com/api/design/re-optimize`
- Auth: none declared

Re-optimize, clone, or what-if a design with optional overrides.

## Request body

- ReOptimizeRequest: HTTP request body for ``POST /api/design/re-optimize``.
  - `design` object, required
  - `mode` 're-optimize' | 'clone' | 'what-if', required
  - `overrides` object

## Response `200`

Successful Response

- ReOptimizeResponse: HTTP response body for ``POST /api/design/re-optimize``.
  - `success` boolean, required
  - `mode` 're-optimize' | 'clone' | 'what-if', required
  - `result` object, required
  - `warnings` string[]
  - `agent_results` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api.md) · [All operations](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api/revisions/b6084b3ace32?raw)
