ps


Description:

public async ArrayList<Model> ps () throws Error

Lists currently running models on the Ollama server.

Shows which models are currently loaded in memory and running. This is useful for monitoring active model instances and their resource usage. This calls the /api/ps endpoint to get the list of running models.

Returns:

ArrayList of Response.Model objects representing currently running models

Exceptions:

Error

if the request fails or response is invalid

Since:

1.0