Overview
POST /api/pull
Parameters
model
: name of the model to pullinsecure
: (optional) allow insecure connections to the library. Only use this if you are pulling from your own library during development.stream
: (optional) if false
the response will be returned as a single response object, rather than a stream of objectsExamples
Request
Response
stream
is not specified, or set to true
, a stream of JSON objects is returned:{
"status": "pulling manifest"
}
completed
key may not be included. The number of files to be downloaded depends on the number of layers specified in the manifest.{
"status": "downloading digestname",
"digest": "digestname",
"total": 2142590208,
"completed": 241970
}
{
"status": "verifying sha256 digest"
}
{
"status": "writing manifest"
}
{
"status": "removing any unused layers"
}
{
"status": "success"
}
stream
is set to false, then the response is a single JSON object:{
"status": "success"
}
Modified at 2025-03-14 08:35:57