{
  "opencollection": "1.0.0",
  "info": {
    "name": "Opik REST Ollama API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Ollama",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List available Ollama models",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:5173/api/v1/private/ollama/models",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Fetches the list of models available from the Ollama instance. URL may be provided with or without /v1 suffix (e.g., http://localhost:11434 or http://localhost:11434/v1). The /v1 suffix will be automatically removed for model discovery. For actual LLM inference, use the URL with /v1 suffix for OpenAI-compatible endpoints."
        },
        {
          "info": {
            "name": "Test connection to Ollama instance",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:5173/api/v1/private/ollama/test-connection",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Validates that the provided Ollama URL is reachable. URL may be provided with or without /v1 suffix (e.g., http://localhost:11434 or http://localhost:11434/v1). The /v1 suffix will be automatically removed for connection testing. For inference, use the URL with /v1 suffix."
        }
      ]
    }
  ],
  "bundled": true
}