user

List user data files

Returns a list of user data files in the specified directory, optionally recursively and with full metadata.

get/api/userdata

Request

Query parameters

dirstring required

The directory path to list files from. Must include trailing slash. Example: "workflows/" or "settings/"

recurseboolean

If true, include files in subdirectories. Otherwise only lists files directly in the specified directory.

splitboolean

Whether to split file information by type. Note: Accepted for ComfyUI API compatibility but currently ignored.

full_infoboolean

Whether to return full file metadata. Note: Accepted for ComfyUI API compatibility but currently ignored (always returns full info).

Response

A list of user data files.

pathstring

File name or path relative to the user directory.

sizeinteger

File size in bytes.

modifiednumber float

UNIX timestamp of the last modification.

Changes

No recorded changes to this operation across all 1 revision of this API.