Request
Endpoint
Request Body
Name of the model to push (e.g.,
namespace/model:tag)Enable streaming of upload progress updates
Allow insecure connections to the registry
Username for registry authentication
Password for registry authentication
Response
Response Fields
Status message describing current operation (e.g., “pushing manifest”, “uploading”)
Digest of the layer being uploaded
Total size of the layer in bytes
Bytes uploaded so far
Examples
Push a Model (Streaming)
Example Streaming Response
Push with Authentication
Non-Streaming Push
Example Non-Streaming Response
Error Responses
Description of the error
Common Errors
- 400 Bad Request: Invalid model name or missing required fields
- 401 Unauthorized: Authentication required or invalid credentials
- 404 Not Found: Model not found locally
- 500 Internal Server Error: Upload or verification error
Before pushing a model, ensure you’re authenticated with the registry. Models must follow the naming convention
namespace/model:tag.The model must exist locally before it can be pushed. Use
/api/create to create a model first if needed.