---
title: "Export Models"
method: POST
path: "/optimization.modelexport"
tags: ["Optimization"]
---

# Export Models

`POST /optimization.modelexport`

Export models to a ZIP file.

## Request body

- object
  - `data` object
    - `typedIds` string[] — List of model typedIds to export (e.g. "1.MO", "2.MO")

## Response `200`

OK - A ZIP file containing the exported model JSON files.

## Other responses

- `400` — Bad request (e.g. incorrect path or missing typedIds)
- `403` — Permission denied for one or more models
- `404` — One or more model IDs not found or missing typedIds
- `500` — Internal Server Error

---

[API](https://skmtc.net/pricefx/apis/the-pricefx-backend-api.md) · [All operations](https://skmtc.net/pricefx/apis/the-pricefx-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pricefx/the-pricefx-backend-api/versions/0850b5d6be73/schema)
