Skip to main content
PUT
Set Asset Metadata Value

Authorizations

Authorization
string
header
required

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

Path Parameters

attribute_id
string<uuid>
required

Attribute ID

asset_id
string<uuid>
required

Asset ID

Body

application/json

API request schema for setting a metadata value.

value
any
required

The value to set

Response

Successful Response

API response schema for a single metadata value.

attribute_id
string<uuid>
required

ID of the attribute this value is for

data_type
enum<string>
required

Data type of the value

Available options:
string,
integer,
float,
boolean,
datetime,
single_select,
multi_select,
user_id,
person_id,
object_id,
directory_id
value
any
required

The actual value, type depends on data_type; null when the cell was answered with no value. For Objects: the objects present, each as {object_id, label, source}

name
string | null

Display name of the attribute

category
string | null

Grouping category of the attribute

source
enum<string>
default:user

Author of the value's current content: user for manual writes, ai for generated ones

Available options:
user,
ai