{
  "opencollection": "1.0.0",
  "info": {
    "name": "Ollama API",
    "version": "0.1.0"
  },
  "items": [
    {
      "info": {
        "name": "Generate",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Ollama Generate a completion",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:11434/api/generate",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Generate a response for a given prompt with a provided model. This is a streaming endpoint that returns a sequence of JSON objects by default. The final response object includes statistics about the generation. Set stream to false to receive a single response object."
        }
      ]
    },
    {
      "info": {
        "name": "Chat",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Ollama Generate a chat completion",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:11434/api/chat",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Generate the next message in a chat with a provided model. This is a streaming endpoint that returns a sequence of JSON objects by default. Supports multi-turn conversations, tool calling, vision input, and structured output."
        }
      ]
    },
    {
      "info": {
        "name": "Embeddings",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Ollama Generate embeddings",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:11434/api/embed",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Generate vector embeddings from a model for a given text input or array of text inputs. Useful for semantic search, clustering, and retrieval augmented generation."
        }
      ]
    },
    {
      "info": {
        "name": "Models",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Ollama List local models",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:11434/api/tags"
          },
          "docs": "List all models that are available locally on the Ollama server, including their size, digest, and metadata details."
        },
        {
          "info": {
            "name": "Ollama Show model information",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:11434/api/show",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Show detailed information about a model including parameters, template, license, system prompt, capabilities, and model metadata."
        },
        {
          "info": {
            "name": "Ollama Create a model",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:11434/api/create",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a model from an existing model with optional customizations including system prompt, template, parameters, and quantization. Streams progress updates by default."
        },
        {
          "info": {
            "name": "Ollama Copy a model",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:11434/api/copy",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a copy of an existing model under a new name. This creates a duplicate that can be modified independently."
        },
        {
          "info": {
            "name": "Ollama Pull a model",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:11434/api/pull",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Download a model from the Ollama model registry. Streams progress updates by default with status, digest, and byte transfer information."
        },
        {
          "info": {
            "name": "Ollama Push a model",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:11434/api/push",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Upload a model to the Ollama model registry for sharing. Requires authentication. Streams progress updates by default."
        },
        {
          "info": {
            "name": "Ollama Delete a model",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://localhost:11434/api/delete",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Delete a model and its data from the local Ollama server. This permanently removes the model files from disk."
        }
      ]
    },
    {
      "info": {
        "name": "Running Models",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Ollama List running models",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:11434/api/ps"
          },
          "docs": "List models that are currently loaded into memory on the Ollama server, including their VRAM usage, context length, and expiration time."
        }
      ]
    },
    {
      "info": {
        "name": "Blobs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Ollama Create a blob",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:11434/api/blobs/:digest",
            "params": [
              {
                "name": "digest",
                "value": "",
                "type": "path",
                "description": "The SHA256 digest of the blob in the format sha256:<hex>."
              }
            ]
          },
          "docs": "Create a blob from a file on the server. Used to upload model layers or other binary data referenced by digest."
        },
        {
          "info": {
            "name": "Ollama Check if a blob exists",
            "type": "http"
          },
          "http": {
            "method": "HEAD",
            "url": "http://localhost:11434/api/blobs/:digest",
            "params": [
              {
                "name": "digest",
                "value": "",
                "type": "path",
                "description": "The SHA256 digest of the blob in the format sha256:<hex>."
              }
            ]
          },
          "docs": "Check if a blob with the specified digest exists on the server. Returns 200 if it exists, 404 if it does not."
        }
      ]
    },
    {
      "info": {
        "name": "Version",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Ollama version",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:11434/api/version"
          },
          "docs": "Returns the version of the Ollama server."
        }
      ]
    }
  ],
  "bundled": true
}