---
title: "List files in userdata (v2 format)"
method: GET
path: "/api/v2/userdata"
tags: ["userdata"]
---

# List files in userdata (v2 format)

`GET /api/v2/userdata`

Lists files in the authenticated user's data directory using the v2 response shape, which always returns full objects.

## Query parameters

- `path` string

## Headers

- `Comfy-User` string

## Response `200`

File listing with metadata

- object[]
  - `name` string
  - `path` string
  - `type` 'file' | 'directory'
  - `size` integer
  - `modified` number — Unix timestamp

## Changes

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

[Change history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/v2/userdata/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/c9640fded659/schema)
