save_model
Persist an unsaved API-created model into a project, making it visible in default listings and dashboard. Re-saving renames or moves a model without consuming an additional slot.
Instructions
Save a model into a project under a display name.
API-created models start unsaved and are invisible to list_models (without include_unsaved=true) — saving files them into a project so they appear in the default listing and the dashboard's Saved Models.
The same saved-models cap applies as in the dashboard: at the cap the API returns a 400 with error_type "saved_limit". Re-saving an already-saved model renames/refiles it without consuming a new slot.
Args: model_hash: Hash of the model to save. name: Display name to save under (non-empty). project_id: Optional target project ID; must be a project you own or one shared with a team you belong to. Discover ids with list_projects; create a folder with create_project. Defaults to your default project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| model_hash | Yes | ||
| project_id | No |