Push Model
Upload a custom local model configuration tag to a remote registry boundary.
POST /api/push
Request Parameters
model(string, required): Model namespace and tag to push (e.g.developer1/gemma-custom).insecure(boolean, optional): Allow connecting to unencrypted HTTP endpoints.stream(boolean, defaulttrue): Stream upload progress logs.
Example
curl http://localhost:11434/api/push -d '{
"model": "developer1/gemma-custom"
}'
Response Payload
{"status":"retrieving manifest","done":false}
{"status":"pushing layer a8f8c7e9b23b","digest":"sha256:a8f8c7e9b23b...","total":4720938102,"completed":2048921,"done":false}
{"status":"success","done":true}