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
| Param | Example | Type | Status |
|---|---|---|---|
id | id: "folder_123" | String | Required |
name | name: "Brand" | String | Required |
assetCount | assetCount: 12 | Number | Required |
createdBy | createdBy: "user_123" | String | null | Required |
createdAt | createdAt: "2026-10-30T12:00:00.000Z" | String | Required |
updatedAt | updatedAt: "2026-10-30T12:00:00.000Z" | String | Required |
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.identitywhen creating the folder. - The Puck user that created the folder when using Puck Auth.
nullifauth.identitywas 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.