[GH-ISSUE #2725] Ping api endpoint for more efficient network scanning #1636

Closed
opened 2026-04-12 11:34:28 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @danemadsen on GitHub (Feb 24, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2725

currently im using the /api/tags endpoint for automated scanning of the network to find ollama. This is working fine but it may be better to have a dedicated ping endpoint for this kind of operation.

Originally created by @danemadsen on GitHub (Feb 24, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/2725 currently im using the /api/tags endpoint for automated scanning of the network to find ollama. This is working fine but it may be better to have a dedicated ping endpoint for this kind of operation.
Author
Owner

@pdevine commented on GitHub (Mar 1, 2024):

There is a health check endpoint:

$ curl localhost:11434
Ollama is running

I'm going to go ahead and close the issue, but feel free to reopen it if that's not what you were looking for.

<!-- gh-comment-id:1972328580 --> @pdevine commented on GitHub (Mar 1, 2024): There is a health check endpoint: ``` $ curl localhost:11434 Ollama is running ``` I'm going to go ahead and close the issue, but feel free to reopen it if that's not what you were looking for.
Author
Owner

@Propfend commented on GitHub (Mar 13, 2025):

@pdevine there should be some endpoint for /slots also, for state scanning. How do we workaround that lack?

<!-- gh-comment-id:2721401407 --> @Propfend commented on GitHub (Mar 13, 2025): @pdevine there should be some endpoint for `/slots` also, for state scanning. How do we workaround that lack?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#1636