Pull Model
Download and cache model weight layers from the registry database. This is a streaming endpoint.
POST /api/pull
Request Parameters
model(string, required): Model name to download.insecure(boolean, optional): Allow connecting to unencrypted HTTP custom registries.stream(boolean, defaulttrue): Stream download progress logs.
Example
curl http://localhost:11434/api/pull -d '{
"model": "gemma4"
}'
Response Payload (Streaming chunks)
{"status":"pulling manifest","done":false}
{"status":"pulling layer a8f8c7e9b23b","digest":"sha256:a8f8c7e9b23b...","total":4720938102,"completed":1024098,"done":false}
{"status":"pulling layer a8f8c7e9b23b","digest":"sha256:a8f8c7e9b23b...","total":4720938102,"completed":4720938102,"done":false}
{"status":"success","done":true}