[GH-ISSUE #5746] Endpoint for Listing models isn't working #3579

Closed
opened 2026-04-12 14:18:37 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @Spirizeon on GitHub (Jul 17, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/5746

What is the issue?

I was going through the api docs. upon sending the curl request for listing models, I come across this error.

I made sure that:

  • Ollama is running on my device on port 11434
  • All other endpoints are working properly

Command

curl http://localhost:11434/api/ps

Actual output

404 page not found

Here's the Fix

Upon curling, the tags endpoint, we get the expected JSON response

curl http://localhost:11434/api/tags

If this solution is valid, requesting to create a PR for this. If not, requesting another possible solution/fix.

OS

Linux

GPU

Nvidia

CPU

AMD

Ollama version

0.1.34

Originally created by @Spirizeon on GitHub (Jul 17, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/5746 ### What is the issue? I was going through the [api docs](https://github.com/ollama/ollama/blob/main/docs/api.md#list-running-models). upon sending the curl request for listing models, I come across this error. I made sure that: - [x] Ollama is running on my device on port 11434 - [x] All other endpoints are working properly Command ``` curl http://localhost:11434/api/ps ``` Actual output ``` 404 page not found ``` ### Here's the Fix Upon curling, the `tags` endpoint, we get the expected JSON response ``` curl http://localhost:11434/api/tags ``` If this solution is valid, requesting to create a PR for this. If not, requesting another possible solution/fix. ### OS Linux ### GPU Nvidia ### CPU AMD ### Ollama version 0.1.34
GiteaMirror added the bug label 2026-04-12 14:18:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#3579