Skip to main content
POST

Body Parameters

string
required
Name of the model to pull (e.g., “llama2”, “mistral:7b”)
string
Optional Ollama server URL (defaults to http://localhost:11434)

Response

boolean
Indicates if the pull was initiated successfully
string
Status message about the pull operation

Notes

Ensure Ollama is running before attempting to pull a model. Start it with ollama serve or by running the Ollama app.
  • Model pulls run asynchronously in the background
  • Use the Get Pull Status endpoint to monitor download progress
  • Large models can take significant time to download
  • Specify a tag (e.g., “llama2:7b”) to pull a specific variant, or use just the name to pull the latest version

Model Name Format

  • modelName: Just the name (pulls latest) - e.g., “llama2”
  • modelName:tag: Specific version - e.g., “llama2:7b”, “mistral:latest”