Models

What the model managers already on this machine hold

Per-library report of the models an existing manager (Ollama, LM Studio, Jan, the HuggingFace cache) already holds, so a switcher can see what would come across before anything is adopted. Read-only: nothing is copied, linked or changed. Each library folds independently, so one unreadable root cannot silence the others, and "no library installed" is a successful body rather than an error.

get/v1/models/foreign-libraries

Request

  • Base URL: http://localhost:9998
  • URL: http://localhost:9998/v1/models/foreign-libraries
  • Auth: HTTP bearer

Response

Per-library report. Returned even when no library is installed.

modelCountinteger required

Adoptable models across every library

totalBytesinteger required
totalFormattedstring required
adoptionDisclosurestring required

Shared-storage consequence, stated at the decision it is about: adopted models are hardlinked, so removing one in the other manager will not free disk until it is removed here too.

reversibilitystring required

The reversibility promise shown before the first adopt

Changes

No recorded changes to this operation across all 1 revision of this API.