Upload a primary weights file plus N sidecar files as a single coherent artifact bundle. All files are grouped into ONE
POST/api/v1/models/:model_id/versions/upload-bundle
Upload a primary weights file plus N sidecar files as a single coherent artifact bundle. All files are grouped into ONE ArtifactPackage row with N+1 ArtifactResource rows. This is required for models that need sidecar files to be co-located at runtime (e.g. piper-vits TTS: model.onnx + tokens.txt + espeak-ng-data). Enforces plan gate (model_versions_monthly). len(extras) MUST equal len(extras_kind); 422 on mismatch.
Request
Responses
- 200
- default
Success
Error response