---
title: "List user assets"
method: GET
path: "/api/assets"
tags: ["asset"]
---

# List user assets

`GET /api/assets`

Retrieves a paginated list of assets belonging to the authenticated user.
Supports filtering by tags, name, metadata, and sorting options.

## Query parameters

- `include_tags` string[]
- `exclude_tags` string[]
- `name_contains` string
- `metadata_filter` string
- `limit` integer
- `offset` integer
- `sort` 'name' | 'created_at' | 'updated_at' | 'size' | 'last_access_time'
- `order` 'asc' | 'desc'
- `include_public` boolean

## Response `200`

Success - Assets returned

- ListAssetsResponse
  - `assets` Asset[], required — List of assets matching the query
    - `id` string, uuid, required — Unique identifier for the asset
    - `name` string, required — Name of the asset file
    - `asset_hash` string — Blake3 hash of the asset content
    - `size` integer, required — Size of the asset in bytes
    - `mime_type` string — MIME type of the asset
    - `tags` string[] — Tags associated with the asset
    - `user_metadata` object — Custom user metadata for the asset
    - `preview_url` string, uri — URL for asset preview/thumbnail
    - `preview_id` string, uuid, nullable — ID of the preview asset if available
    - `prompt_id` string, uuid, nullable — ID of the job/prompt that created this asset, if available
    - `created_at` string, date-time, required — Timestamp when the asset was created
    - `updated_at` string, date-time, required — Timestamp when the asset was last updated
    - `last_access_time` string, date-time — Timestamp when the asset was last accessed
    - `is_immutable` boolean — Whether this asset is immutable (cannot be modified or deleted)
  - `total` integer, required — Total number of assets matching the filters
  - `has_more` boolean, required — Whether more assets are available beyond this page

## Other responses

- `400` — Invalid request parameters
- `401` — Unauthorized
- `500` — Internal server error

---

[API](https://skmtc.net/ac/apis/comfy-api.md) · [All operations](https://skmtc.net/ac/apis/comfy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ac/comfy-api/versions/c1893dffe250/schema)
