Ollama API Overview and Endpoints
mainOllama provides a RESTful API for interacting with large language models. The API supports generating completions (both text and chat), managing models (create, list, show, copy, delete, pull, push), generating embeddings, and monitoring running models.
Note: Official documentation is migrating to https://docs.ollama.com/api.