Legacy: Ollama-compatible API

Ollama-dialect embeddings — successor: POST /v1/embeddings

Fronts the free ANE embeddinggemma path. Installed chat models answer 400 "does not support embeddings" (matching upstream ≥0.30's own refusal); unknown models return the pull-guidance 404.

post/legacy/ollama/api/embed

Request

  • Base URL: http://localhost:9998
  • URL: http://localhost:9998/legacy/ollama/api/embed
  • Auth: HTTP bearer

Request body

modelstring required

Response

Embeddings

modelstring required

Changes

No recorded changes to this operation across all 1 revision of this API.