> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Get asset

> Retrieves metadata and variants for one asset.

`webflow.getAsset` retrieves metadata and variants for one asset.

## Example

```ts automations/webflow-get-asset.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { webflow } from "automate.ax/webflow"

export default automation("Get asset", () => {
  onDashboardRun({ title: "Get asset" })

  webflow.getAsset({
    assetId: "asset-id",
  })
})
```

## Inputs

Every input accepts a compatible signal. It requires the `assets:read` OAuth scope.

| Field     | Type     | Required | Description       |
| --------- | -------- | -------- | ----------------- |
| `assetId` | `string` | Yes      | Webflow asset ID. |

## Output

Returns an object with the fields below. Automate.ax converts provider `Date` values to ISO 8601 strings.

| Field              | Type                     | Description                       |
| ------------------ | ------------------------ | --------------------------------- |
| `id`               | `string`                 | Webflow `id` value.               |
| `contentType`      | `string`                 | Webflow `contentType` value.      |
| `size`             | `number`                 | Webflow `size` value.             |
| `siteId`           | `string`                 | Webflow site ID.                  |
| `hostedUrl`        | `string`                 | Webflow `hostedUrl` value.        |
| `originalFileName` | `string`                 | Webflow `originalFileName` value. |
| `displayName`      | `string`                 | Webflow `displayName` value.      |
| `lastUpdated`      | `string`                 | Webflow `lastUpdated` value.      |
| `createdOn`        | `string`                 | Webflow `createdOn` value.        |
| `variants`         | `Webflow.AssetVariant[]` | Webflow `variants` value.         |
| `altText`          | `string`                 | Webflow `altText` value.          |
