Open-Source Wikis

/

Ollama

/

API

ollama/ollama

API

Ollama exposes three HTTP API dialects on the daemon's port (default 11434):

  • The native Ollama API at /api/....
  • An OpenAI-compatible API at /v1/....
  • An Anthropic-compatible Messages API at /v1/messages.

All three are served by the same gin router in server/routes.go; compat layers are translated by middleware in middleware/.

Pages

Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.

API – Ollama wiki | Factory