---
title: "Save model weights"
method: POST
path: "/api/v1/save_weights"
---

# Save model weights

`POST /api/v1/save_weights`

Saves the current model weights to disk

## Request body

- SaveWeightsRequest
  - `type` 'save_weights'
  - `model_id` string, uuid, required
  - `path` string — A file/directory name for the weights

## Response `200`

API future for weight saving completion

- UntypedAPIFuture
  - `request_id` string, uuid, required
  - `model_id` string, uuid

---

[API](https://skmtc.dev/thinking-machines-lab/apis/tinker-api.md) · [All operations](https://skmtc.dev/thinking-machines-lab/apis/tinker-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/thinking-machines-lab/tinker-api/revisions/51afac49fce6/schema)
