---
title: "Get available model folders"
method: GET
path: "/api/experiment/models"
tags: ["file"]
---

# Get available model folders

`GET /api/experiment/models`

Returns a list of model folders available in the system.
This is an experimental endpoint that replaces the legacy /models endpoint.
Each folder's name is the identifier to pass to /api/experiment/models/{folder}.
Once the model_type migration is active the names are model_type folder_names
(e.g. `ultralytics_bbox`); a folder with no folder_name mapping is returned by
its directory path.

## Response `200`

Success - List of model folders

- ModelFolder[]
  - `folders` string[], required — List of paths where models of this type are stored
  - `name` string, required — The name of the model folder

## Other responses

- `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)
