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.
Query Parameters
Optional cluster_id to link job to cluster doc
Body
Request to execute clustering on one or more collections.
IDs of the collections to cluster together
1
Clustering configuration including algorithm and parameters
Number of documents to sample for clustering
Whether to store clustering results
Whether to include cluster membership in results
Whether to compute clustering quality metrics
Whether to save clustering artifacts (e.g., parquet) to S3
Response
Successful Response
Task response.
Unique identifier for the task
"task_123"
Type of the task
api_namespaces_create
, api_buckets_objects_create
, api_buckets_delete
, api_buckets_batches_process
, api_buckets_batches_submit
, api_taxonomies_create
, api_taxonomies_execute
, api_taxonomies_materialize
, engine_feature_extractor_run
, engine_inference_run
, engine_object_processing
, engine_cluster_build
, thumbnail
, materialize
Current status of the task
PENDING
, IN_PROGRESS
, PROCESSING
, COMPLETED
, FAILED
, CANCELED
, UNKNOWN
, SKIPPED
, DRAFT
List of input parameters or data for the task
[
"file1.pdf",
{ "config": { "key": "value" } }
]
List of output results from the task
[
"processed_file1.pdf",
{ "result": "success" }
]
Additional metadata or context for the task
{ "priority": "high", "user_id": "user_456" }
Flattened error message derived from additional_data['error'] if present.