Generate experiences with Puck AI
Read docs
CloudAPI referencecloud-clientTypesAssetFolder

AssetFolder

Puck Assets is in early access. Request access.

A folder of assets.

{
  "id": "folder_123",
  "name": "Brand",
  "assetCount": 12,
  "createdBy": "user_123",
  "createdAt": "2026-10-30T12:00:00.000Z",
  "updatedAt": "2026-10-30T12:00:00.000Z"
}

Params

ParamExampleTypeStatus
idid: "folder_123"StringRequired
namename: "Brand"StringRequired
assetCountassetCount: 12NumberRequired
createdBycreatedBy: "user_123"String | nullRequired
createdAtcreatedAt: "2026-10-30T12:00:00.000Z"StringRequired
updatedAtupdatedAt: "2026-10-30T12:00:00.000Z"StringRequired

id

The folder’s id.

name

The folder’s unique name.

assetCount

The number of assets in the folder.

createdBy

The id of the user who created the folder. One of the following:

  • The user passed in auth.identity when creating the folder.
  • The Puck user that created the folder when using Puck Auth.
  • null if auth.identity was not provided and not using Puck Auth.

createdAt

When the folder was created, as an ISO timestamp.

updatedAt

When the folder last changed, as an ISO timestamp.