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

# Asset

> A media asset (image, file, video, or audio) attached to content



**Kind**: `object`

## Fields

**`aspectRatio`**: `Float`

Width over height. For a native video, the shape of the video as it plays rather than its cover image; null while unknown.

---

**`assetStyle`**: `String`

Asset category (e.g. post, post_description, avatar, header)

---

**`contentType`**: `String`

MIME content type

---

**`fileSize`**: `String`

Human-readable file size

---

**`id`**: `ID!`

---

**`imageUrl`**: `String`

Sized image URL (for image assets)

---

**`isAudio`**: `Boolean!`

---

**`isFile`**: `Boolean!`

---

**`isImage`**: `Boolean!`

---

**`isMainImage`**: `Boolean!`

Non-description image on a post (has metadata `is_main_image: true`). Used to identify gallery/carousel images.

---

**`isVideo`**: `Boolean!`

---

**`largeImageUrl`**: `String`

Large-sized image URL (comment images)

---

**`originalFilename`**: `String`

Original upload filename

---

**`playlistUrl`**: `String`

HLS manifest URL for native video or audio. Null for other assets, and while the transcode has published nothing yet.

---

**`playlistUrlExpiresAt`**: `ISO8601DateTime`

When `playlistUrl` stops working; refetch the asset before then. Null when
`playlistUrl` is null or is authorized by the member's session.

---

**`position`**: `Int`

Zero-based place of the asset among the assets attached to the same post or
comment, in the order they were arranged. Null when no position is recorded.

---

**`smallImageUrl`**: `String`

Small-sized image URL (comment images)

---

**`thumbnailUrl`**: `String`

Artwork hanging off the asset itself, such as the cover a Host attaches to
native audio. Null when the asset has no cover, so a client can tell absence
from a real image.

---

**`url`**: `String`

Primary display URL. Null for native video on the Mighty API; play a video from `playlistUrl`.



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.