---
title: "Update Optimization"
method: PATCH
path: "/optimizations/{id}"
tags: ["optimizations"]
---

# Update Optimization

`PATCH /optimizations/{id}`

## Request

- Base URL: `https://api.ionworks.com`
- URL: `https://api.ionworks.com/optimizations/{id}`
- Auth: none declared

Update an optimization's name and/or description.

## Path parameters

- `id` string, uuid, required

## Request body

- UpdateOptimizationBody: Request body for updating an optimization's name and/or description.
  - `name` string, nullable
  - `description` string, nullable

## Response `200`

Successful Response

- Optimization: Pydantic model for the ``optimizations`` table.
  - `id` string, required
  - `name` string, nullable
  - `description` string, nullable
  - `job_id` string, required
  - `project_id` string, required
  - `user_id` string, nullable
  - `cell_spec_id` string, nullable
  - `parameterized_model_id` string, nullable
  - `optimization_template_id` string, nullable
  - `created_at` string, date-time, nullable
  - `created_by_email` string, nullable
  - `parameterized_model_name` string, nullable
  - `cell_name` string, nullable
  - `organization_id` string, required: Organization this optimization belongs to.

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-30** `ea3d377fec1a`: 1 breaking
  - for the `path` request parameter `id`, the format changed from no format to `uuid`

[Operation history](https://skmtc.dev/ionworks/apis/ionworks-api/changes/optimizations/:id/patch.md)

---

[API](https://skmtc.dev/ionworks/apis/ionworks-api.md) - [All operations](https://skmtc.dev/ionworks/apis/ionworks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ionworks/apis/ionworks-api/revisions/abebbbc5f60a?raw)
