Legacy: Ollama-compatible API

Ollama-dialect embeddings (alias upstream itself deprecates) — successor: POST /v1/embeddings

Single-prompt spelling of /legacy/ollama/api/embed; returns one vector under embedding.

post/legacy/ollama/api/embeddings

Request

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

Request body

modelstring required
promptstring required

Response

Embedding

embeddingnumber[] required

Changes

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