PUT
/
v1
/
assets
/
{asset_id}

Headers

Authorization
string | null

Bearer token authentication using your API key. Format: 'Bearer your_api_key'. To get an API key, create an account at mixpeek.com/start and generate a key in your account settings. Example: 'Bearer sk_1234567890abcdef'

X-Namespace
string | null

Optional namespace for data isolation. This can be a namespace name or namespace ID. Example: 'netflix_prod' or 'ns_1234567890'. To create a namespace, use the /namespaces endpoint.

Path Parameters

asset_id
string
required

Body

application/json
metadata
object

Updated metadata for the asset. This can include any key-value pairs that should be updated or added to the asset's metadata.

propagate_features
boolean | null
default:
false

If True, the features will be propagated to all assets with the same asset_id

Response

200 - application/json
asset_id
string | null

The unique identifier for the asset

collection_id
string | null

The ID of the collection the asset belongs to

created_at
string | null

The timestamp when the asset was created

duplicate_of
string | null

The asset_id of the asset that this asset is a duplicate of

error
any | null

The error message if the asset processing failed

file_data
object | null

File data associated with the asset

file_hash
string | null

The unique hash of the

metadata
object | null

Additional metadata associated with the asset

modality
string | null

The type of media

preview_url
string | null

The presigned URL for accessing the asset preview

score
number | null

The relevance score of the asset

status
string | null

The current status of the asset processing

task_id
string | null

The task ID

updated_at
string | null

The timestamp when the asset was last updated

url
string | null

The presigned URL for accessing the asset