POST
/
assets

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. Example: 'netflix_prod' or 'spotify_recs_dev'. To create a namespace, use the /namespaces endpoint.

Query Parameters

page
integer | null
default: 1
page_size
integer
default: 10

Body

application/json
collection_ids
string[]
required

List of Collection IDs to search within, required

filters
object | null

Used for filtering across all indexes

group_by
object | null

Grouping options for search results

sort
object | null

List of fields to sort by, with direction (asc or desc). Supports dot notation for nested fields.

select
string[] | null

List of fields to return in results, supports dot notation. If None, all fields are returned.

return_url
boolean | null
default: false

Return the presigned URL for the asset and preview asset, this will introduce additional latency

Response

200 - application/json

The response is of type object.