assets.get
Puck Assets is in early access. Request access.
Get an asset by id.
await puck.assets.get("asset_123");Returns the Asset with the given id.
Args
| Param | Example | Type | Status |
|---|---|---|---|
id | "asset_123" | String | Required |
options | { auth: {} } | Object | - |
id
The asset’s id.
options
Set the request options for this call.