Upload a model weights file and convert it to one or more mobile artifact formats server-side. Supports PyTorch (.pt) an
POST/api/v1/models/:model_id/versions/upload
Upload a model weights file and convert it to one or more mobile artifact formats server-side. Supports PyTorch (.pt) and ONNX (.onnx) inputs. Server runs Docker-based conversion for .pt files. Enforces plan gate (model_versions_monthly) before accepting the upload. Auto-creates the internal Model row on first upload for slug-shaped model_ids (OCT-46 #3).
Request
Responses
- 200
- default
Success
Error response