Ollama · REST API List models over the API Return the locally available models as JSON. curl http://localhost:11434/api/tags Official Ollama documentation More rest api commands Generate textChat with message historyCreate embeddingsUse the OpenAI-compatible endpointUse the Python libraryUse the OpenAI Python client All rest api commands · Ollama cheatsheet ← Create embeddingsUse the OpenAI-compatible endpoint →