Legacy: Ollama-compatible API
Ollama-dialect chat (NDJSON stream) — successor: POST /v1/chat/completions
Streams newline-delimited JSON deltas (application/x-ndjson, one object per line, terminal object carries done:true and stats); "stream": false long-polls the single terminal object. Dispatches through the same in-process inference seams as the OpenAI-compatible routes — same tier gate, same on-demand model load.
post/legacy/ollama/api/chat
Request
- Base URL: http://localhost:9998
- URL: http://localhost:9998/legacy/ollama/api/chat
- Auth: HTTP bearer
Request body
Response
NDJSON delta stream; terminal object has done:true
Changes
No recorded changes to this operation across all 1 revision of this API.