---
title: "List assets in the root folder"
method: GET
path: "/admin/assets/contents"
tags: ["assets"]
---

# List assets in the root folder

`GET /admin/assets/contents`

## Query parameters

- `folderId` number
- `fileId` number

## Response `200`

- object
  - `contents` object[]
    - `id` number
    - `name` string — Filename
    - `url` string — URL of the asset
    - `thumbnail` string — Thumbnail URL
    - `caption` string
    - `description` string
    - `link` string — Product link associated with the asset
    - `width` number — Image width in pixels (null for non-image types)
    - `height` number — Image height in pixels (null for non-image types)
    - `size` number — File size in bytes
    - `parent_id` number — ID of the parent folder (null if root)
    - `position` number — Sort position
    - `type` string — Asset type (e.g. static, folder)
    - `metadata` object — Additional metadata stored as a JSON object
    - `created_at` string, date-time

## Other responses

- `403` — Not authenticated

---

[API](https://skmtc.dev/goaffpro/apis/goaffpro-api.md) · [All operations](https://skmtc.dev/goaffpro/apis/goaffpro-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goaffpro/goaffpro-api/revisions/832de9c7d0ae/schema)
