latestOpenAPI 3.0.3GNU General Public License v3.0raw.githubusercontent.com2026-08-137961230.0 KB

da017caf56f1

file

Get models in a specific folder

Returns a list of models available in the specified folder. This is an experimental endpoint that provides enhanced model information. Accepted folder identifiers are those returned by /api/experiment/models for the same caller. That vocabulary is request-scoped, so list folders and fetch a folder's models with the same credentials — a name obtained anonymously may not resolve when authenticated, and vice versa.

get/api/experiment/models/{folder}

Path parameters

folderstring required
Example:checkpoints

The folder name to list models from

Response

Success - List of models in the folder

namestring required

The filename of the model

pathIndexinteger required

Index of the path where this model is located

Example response

[
  {
    "name": "model.safetensors"
  }
]