POST
/
index
/
text

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.

Body

application/json
collection_id
string
required

Unique identifier for the collection where the processed asset will be stored.

asset_update
object | null

Asset update information for existing assets

metadata
object

Additional metadata associated with the file. Can include any key-value pairs relevant to the file.

feature_extractors
object | null

Settings for text processing.

percolate
object | null

Settings for percolating the asset against stored queries.

skip_duplicate
boolean | null
default: true

Skips processing when a duplicate hash is found and stores an error by the task_id with the existing asset_id

Response

200 - application/json
message
string
required

A message describing the status of the task

task_id
string
required

The unique identifier for the processing task

Was this page helpful?