---
title: "Get models in a specific folder"
method: GET
path: "/api/experiment/models/{folder}"
tags: ["file"]
---

# Get models in a specific folder

`GET /api/experiment/models/{folder}`

Returns a list of models available in the specified folder.
This is an experimental endpoint that provides enhanced model information.

## Path parameters

- `folder` string, required

## Response `200`

Success - List of models in the folder

- ModelFile[]
  - `name` string, required — The filename of the model
  - `pathIndex` integer, required — Index of the path where this model is located

## Other responses

- `404` — Folder not found or no models in folder
- `500` — Internal server error

---

[API](https://skmtc.net/comfy-org/apis/comfyui-api.md) · [All operations](https://skmtc.net/comfy-org/apis/comfyui-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comfy-org/comfyui-api/versions/9fb6092a836d/schema)
