Get Asset
Get basic asset details
Headers
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'
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
Unique identifier of the asset
Query Parameters
Whether to generate and return presigned S3 URLs for the asset and preview. Set to false to improve performance when URLs aren't needed
Response
The unique identifier for the asset
"ast_123"
The ID of the collection the asset belongs to
"col_123"
The current status of the asset processing
"processing"
File data associated with the asset
{
"file_size_bytes": 1000000,
"file_type": "image/jpeg"
}
Additional metadata associated with the asset
{
"description": "A new description",
"title": "New Title"
}
The error message if the asset processing failed
The type of media
"image"
The task ID
"task123"
The unique hash of the
"hash123"
The timestamp when the asset was last updated
"2023-01-01T00:00:00.000Z"
The timestamp when the asset was created
"2023-01-01T00:00:00.000Z"
The relevance score of the asset
0.5
The presigned URL for accessing the asset
The presigned URL for accessing the asset preview
The asset_id of the asset that this asset is a duplicate of
Was this page helpful?