---
title: "List model filenames in a folder"
method: GET
path: "/api/models/{folder}"
tags: ["model"]
---

# List model filenames in a folder

`GET /api/models/{folder}`

Returns the names of model files in the given folder. This endpoint predates `/api/experiment/models/{folder}` and returns names only — prefer the experiment endpoint for new integrations.

## Path parameters

- `folder` string, required

## Response `200`

Model filenames

- string[]

## Other responses

- `404` — Unknown folder type

## Changes

- **2026-04-24** `a66055fa384e` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/models/:folder/get.md)

---

[API](https://skmtc.dev/comfy-org/apis/comfyui-api.md) · [All operations](https://skmtc.dev/comfy-org/apis/comfyui-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comfy-org/comfyui-api/revisions/09a5075587c8/schema)
