v1

latestOpenAPI 3.0.3raw.githubusercontent.com2025-07-15155231.4 KB

Save model weights

Saves the current model weights to disk

post/api/v1/save_weights

Request body

type'save_weights'
model_idstring uuid required
pathstring

A file/directory name for the weights

Example request

{
  "model_id": "123e4567-e89b-12d3-a456-426614174000",
  "path": "For the tinker path 'tinker://model-id/weights/step-0123', the WeightsLabel would be 'step-0123'"
}

Response

API future for weight saving completion

request_idstring uuid required
model_idstring uuid

Example response

{
  "request_id": "123e4567-e89b-12d3-a456-426614174000",
  "model_id": "123e4567-e89b-12d3-a456-426614174000"
}