POST
/
v1
/
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. This can be a namespace name or namespace ID. Example: 'netflix_prod' or 'ns_1234567890'. To create a namespace, use the /namespaces endpoint.

Query Parameters

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

Body

application/json
collections
string[]
required

List of Collection IDs or Names to search within, required

filters
object | null

Used for filtering across all indexes

group_by
object | null

Grouping options for search results

return_url
boolean | null
default:
false

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

select
string[] | null

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

sort
object | null

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

Response

200 - application/json
pagination
object
required
results
object[]
required