curl -s http://localhost:11434/api/tags

Category: AI/ML Tooling

curl -s http://localhost:11434/api/tags

List local models via the API

Queries the Ollama REST API on port 11434 and prints every locally stored model as JSON, with name, size, and modification time. It is the API equivalent of `ollama ls`, useful from scripts or when no ollama binary exists on the machine. Pipe through `python3 -m json.tool` to pretty-print.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.