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

Body

application/json
collection
string
required

Unique identifier for the collection where the processed asset will be stored, can be the collection name or collection ID. If neither exist, the collection will be created.

asset_update
object | null

Controls how processing results are stored - either creating a new asset or updating an existing one.

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