Ollama REST API Reference: Every Endpoint with Examples
A complete reference for the Ollama REST API: listing and managing models with /api/tags, /api/pull, /api/delete, and /api/copy, running chat completions and raw text generation with /api/chat and /api/generate, generating embeddings with /api/embeddings, inspecting running models and VRAM usage with /api/ps, getting model details and Modelfiles with /api/show, creating custom models programmatically with /api/create, all key inference options, parsing the streaming response format including performance statistics, and health check patterns.