Skip to main content
PUT
Set Asset Thumbnail

Authorizations

Authorization
string
header
required

Aspect API key (sk_...) in Authorization header. 'Bearer ' optional.

Path Parameters

asset_id
string<uuid>
required

The ID of the asset

Body

application/json

API request schema for setting an asset's custom thumbnail

attachment_id
string<uuid>
required

Confirmed attachment to set as the custom thumbnail

Response

Successful Response

An asset.

id
string<uuid>
required
type
enum<string>
required

Type of the asset (video, image, etc)

Available options:
video,
image,
audio,
document,
vector,
other
name
string
required
size_bytes
integer
required
mime_type
string
required
is_uploaded
boolean
required
workspace_id
string<uuid>
required

ID of the workspace this asset belongs to

project_id
string<uuid>
required

ID of the project this asset belongs to

parent_id
string<uuid>
required

ID of the parent resource (directory or project)

comment_count
integer
required

Total number of visible comments on this asset, including replies

created_by_user_id
string<uuid>
required

ID of the user that created the asset

created
string<date-time>
required
updated
string<date-time>
required
content_modified_at
string<date-time>
required

When the asset's file content last changed. Renames and metadata edits don't change it.

Set only on symlinks: items, made by the desktop app or local drive, that point to another asset or directory. Pass a symlink's id in symlink_ids to move, trash, restore, or copy it; use symlink.target_id for everything else.

media
AssetMedia · object

Intrinsic media properties (dimensions, duration, frame rate, timecode, page count)

is_generated
boolean
default:false

Whether this asset was produced by the AI generation pipeline

version_stack_id
string<uuid> | null

Version stack ID. Null if the asset isn't in a stack.

version_number
integer | null

Position in the version stack, starting at 1. Null if the asset isn't in a stack.

is_top_version
boolean | null

True for the top version of a stack. Null if the asset isn't in a stack.

manifest_id
string<uuid> | null

ID of the asset's current file content. It changes whenever the content changes. Null when the asset has no content yet.