Skip to main content
GET
List user assets

Autorizaciones

X-API-Key
string
header
requerido

API key authentication. Generate an API key from your account settings at https://platform.comfy.org/profile/api-keys. Pass the key in the X-API-Key header.

Parámetros de consulta

include_tags
string[]

Filter assets that have ALL of these tags

exclude_tags
string[]

Exclude assets that have ANY of these tags

name_contains
string

Filter assets where name contains this substring (case-insensitive)

metadata_filter
string

JSON object for filtering by metadata fields

limit
integer
predeterminado:20

Maximum number of assets to return (1-500)

Rango requerido: 1 <= x <= 500
offset
integer
predeterminado:0

Number of assets to skip for pagination

Rango requerido: x >= 0
sort
enum<string>
predeterminado:created_at

Field to sort by

Opciones disponibles:
name,
created_at,
updated_at,
size,
last_access_time
order
enum<string>
predeterminado:desc

Sort order

Opciones disponibles:
asc,
desc
include_public
boolean
predeterminado:true

Whether to include public/shared assets in results

Respuesta

Success - Assets returned

assets
object[]
requerido

List of assets matching the query

total
integer
requerido

Total number of assets matching the filters

has_more
boolean
requerido

Whether more assets are available beyond this page